1
+ /* === GENERAL === */
2
+
1
3
* {
2
4
margin : 0 ;
3
5
padding : 0 ;
4
6
box-sizing : border-box;
5
7
}
6
8
9
+ /* === css variables === */
7
10
: root {
8
11
--header-bg-color : # 4a7799 ;
9
- --textarea-bg-color : rgb (235 , 231 , 231 );
10
- --body-bg-color : rgb (225 , 228 , 230 );
11
- --nav-link-color : # aaa ;
12
+ --textarea-bg-color : rgb (250 , 246 , 246 );
13
+ --body-bg-color : rgb (210 , 214 , 210 );
14
+ --nav-link-color : # bbb ;
12
15
}
13
16
17
+ /* === body style === */
14
18
body {
15
19
background : var (--body-bg-color );
16
20
margin : auto;
17
- line-height : 1.5 ;
21
+ line-height : 1.75 ;
22
+ font-weight : 900 ;
23
+ word-spacing : 1.5px ;
24
+ font-family : 'Lato' , sans-serif;
25
+ font-weight : 300 ;
18
26
}
19
27
28
+ /* === header style === */
20
29
header {
21
30
background : var (--header-bg-color );
22
31
}
23
-
32
+ /* === title and subtitle style === */
24
33
h1 ,
25
34
h2 {
26
- margin : 25px ;
35
+ margin : 20px ;
36
+ font-weight : 300 ;
37
+ font-family : Nunito;
27
38
}
28
39
40
+ /* === header menu style === */
41
+
29
42
.menu-container {
30
43
width : 90% ;
31
44
display : flex;
39
52
display : flex;
40
53
}
41
54
42
- li {
43
- list-style : none;
44
- }
45
-
46
55
.nav-list {
47
56
list-style : none;
48
57
margin : 0 5px ;
53
62
font-size : 22px ;
54
63
padding : 0 5px ;
55
64
color : var (--nav-link-color );
65
+ font-weight : 400 ;
56
66
}
57
67
68
+ .brand-name {
69
+ font-size : 28px ;
70
+ font-weight : bolder;
71
+ }
72
+ /* === paragraph text style === */
73
+ p {
74
+ font-size : 22px ;
75
+ font-weight : 300 ;
76
+ }
77
+
78
+ /* === main style === */
58
79
main {
59
80
width : 90% ;
60
81
margin : auto;
61
- text-align : center;
62
82
}
63
83
64
- .btn {
84
+ /* === container div inside main style === */
85
+
86
+ .container {
87
+ background : rgb (210 , 214 , 210 );
88
+ padding : 20px ;
89
+ margin : auto;
90
+ }
91
+
92
+ .tech-lists {
93
+ margin : 10px auto;
94
+ text-align : left;
95
+ font-size : 20px ;
96
+ }
97
+ .tech {
98
+ list-style : none;
99
+ }
100
+ /* === button style === */
101
+ .btn {
65
102
width : 150px ;
66
103
height : 50px ;
67
104
background : var (--header-bg-color );
68
105
color : var (--nav-link-color );
69
106
font-size : 20px ;
70
- margin : 5px ;
107
+ margin : 5px ;
71
108
border : 1px solid var (--header-bg-color );
109
+ font-family : Lato;
110
+ cursor : pointer;
72
111
}
73
112
74
113
.btn : focus {
75
114
outline : 2px solid # 2a70a5 ;
115
+ cursor : pointer;
76
116
}
77
-
78
-
117
+ /* === textarea style === */
79
118
textarea {
80
- padding : 20px ;
81
- outline : 1px solid var (--nav-link-color );
119
+ width : 65% ;
120
+ margin : auto;
121
+ padding : 10px 15px ;
122
+ outline : 2px solid rgba (207 , 203 , 203 , 0.25 );
82
123
border : none;
83
124
font-size : 18px ;
125
+ font-family : Lato;
126
+ font-weight : 300 ;
84
127
}
85
128
86
129
textarea : focus {
87
130
border : none;
88
- outline : 2px solid # 4a7799 ;
131
+ outline : 2px solid rgba ( 74 , 119 , 153 , 0.45 ) ;
89
132
background : var (--textarea-bg-color );
90
133
font-size : 18px ;
134
+ caret-color : var (--header-bg-color );
135
+ font-family : Lato;
136
+ font-weight : 300 ;
137
+
138
+ }
139
+
140
+ /* === responsiveness === */
141
+ @media (max-width : 600px ) {
142
+
143
+ .menu-container {
144
+ flex-direction : column;
145
+ justify-content : space-between;
146
+ }
147
+ h1 {
148
+ font-size : 22px ;
149
+ }
150
+
151
+ .nav-lists {
152
+ flex-direction : column;
153
+ }
154
+
155
+ textarea {
156
+ width : 100% ;
157
+ }
158
+
91
159
}
0 commit comments