-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathexample.scss
More file actions
122 lines (112 loc) · 2.3 KB
/
example.scss
File metadata and controls
122 lines (112 loc) · 2.3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
@import url('https://fonts.googleapis.com/css2?family=Anton&family=Roboto+Slab&display=swap');
// font-family: 'Anton', sans-serif;
// font-family: 'Roboto Slab', serif;
:root{
--back-color: rgb(3, 4, 41);
--text-color: white;
--logo-size: 30px;
--nav-font: 20px;
--hover-color: rgb(255, 255, 255);
--h1-size: 60px;
--h3-size: 30px;
--normal-color: aqua;
--font-btn: 'Anton', sans-serif;
--text-color1: black;
}
*{
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Roboto Slab', serif;
}
body{
background-color: var(--back-color);
color: var(--text-color);
}
.site-header{
position: fixed;
top: 0;
left: 0;
width: 100%;
padding: 20px 10%;
display: flex;
justify-content: space-between;
align-items: center;
z-index: 1;
}
.site-logo{
color: var(--text-color);
font-size: var(--logo-size);
text-decoration: none;
font-weight: bold;
}
.nav-bar a{
font-size: var(--nav-font);
text-decoration: none;
font-weight: bolder;
margin-left: 40px;
transition: 0.5s;
color: var(--normal-color)
}
.nav-bar a:hover{
color: var(--hover-color);
}
.home{
height: 100vh;
display: flex;
align-items: center;
padding: 0 10%;
}
.home-content{
max-width: 600px;
}
.home-content h1{
font-size: var(--h1-size);
}
.home-content h3{
font-size: var(--h3-size);
margin-bottom: 10px;
color: var(--normal-color);
}
.home-content hr{
margin-bottom: 40px;
}
.group-buttons{
margin-top: 50px;
display: flex;
justify-content: space-between;
width: 380px;
}
.group-buttons a{
display: inline-flex;
border: 1px solid aqua;
padding: 20px 40px;
justify-content: center;
align-items: center;
color: var(--text-color1);
border-radius: 50px;
text-decoration: none;
letter-spacing: 1px;
font-weight: bold;
background: aqua;
}
.group-buttons a:nth-child(2){
background: transparent;
color: var(--normal-color);
}
.social-content{
position: absolute;
bottom: 40px;
width: 400px;
justify-content: space-between;
}
.social-content a{
text-decoration: none;
display: inline-flex;
padding: 0 10px;
transition: 0.5s;
color: var(--normal-color);
}
.social-content a:hover{
font-size: 15px;
}