1+ /* === GENERAL === */
2+
13* {
24 margin : 0 ;
35 padding : 0 ;
46 box-sizing : border-box;
57}
68
9+ /* === css variables === */
710: root {
811 --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 ;
1215}
1316
17+ /* === body style === */
1418body {
1519 background : var (--body-bg-color );
1620 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 ;
1826}
1927
28+ /* === header style === */
2029header {
2130 background : var (--header-bg-color );
2231}
23-
32+ /* === title and subtitle style === */
2433h1 ,
2534h2 {
26- margin : 25px ;
35+ margin : 20px ;
36+ font-weight : 300 ;
37+ font-family : Nunito;
2738}
2839
40+ /* === header menu style === */
41+
2942.menu-container {
3043 width : 90% ;
3144 display : flex;
3952 display : flex;
4053}
4154
42- li {
43- list-style : none;
44- }
45-
4655.nav-list {
4756 list-style : none;
4857 margin : 0 5px ;
5362 font-size : 22px ;
5463 padding : 0 5px ;
5564 color : var (--nav-link-color );
65+ font-weight : 400 ;
5666}
5767
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 === */
5879main {
5980 width : 90% ;
6081 margin : auto;
61- text-align : center;
6282}
6383
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 {
65102 width : 150px ;
66103 height : 50px ;
67104 background : var (--header-bg-color );
68105 color : var (--nav-link-color );
69106 font-size : 20px ;
70- margin : 5px ;
107+ margin : 5px ;
71108 border : 1px solid var (--header-bg-color );
109+ font-family : Lato;
110+ cursor : pointer;
72111}
73112
74113.btn : focus {
75114 outline : 2px solid # 2a70a5 ;
115+ cursor : pointer;
76116}
77-
78-
117+ /* === textarea style === */
79118textarea {
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 );
82123 border : none;
83124 font-size : 18px ;
125+ font-family : Lato;
126+ font-weight : 300 ;
84127}
85128
86129textarea : focus {
87130 border : none;
88- outline : 2px solid # 4a7799 ;
131+ outline : 2px solid rgba ( 74 , 119 , 153 , 0.45 ) ;
89132 background : var (--textarea-bg-color );
90133 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+
91159}
0 commit comments