File tree Expand file tree Collapse file tree 1 file changed +22
-11
lines changed
Expand file tree Collapse file tree 1 file changed +22
-11
lines changed Original file line number Diff line number Diff line change 55 box-sizing : border-box;
66}
77
8+ /* CSS VARIABLES */
9+
10+ : root {
11+ --WHITE-COLOR : # FFFFFF ;
12+ --GRAY-COLOR : # eeeeeec6 ;
13+ --DARK-BG-COLOR : # 161126 ;
14+ --DARK-FORM-COLOR : # 2c234452 ;
15+ --DANGER-TEXT-COLOR : # b80044 ;
16+ }
17+
818body {
9- background : # 161126 ;
19+ background : var ( --DARK-BG-COLOR ) ;
1020}
1121
1222a {
13- color : # b80044 ;
23+ color : var ( --DANGER-TEXT-COLOR ) ;
1424 text-decoration : none;
1525}
1626
2232
2333form h1 {
2434 margin : 20px 0 ;
35+ text-align : center;
2536}
2637
2738form {
28- background : # 2c234452 ;
29- width : 28 % ;
39+ background : var ( --DARK-FORM-COLOR ) ;
40+ width : 390 PX ;
3041 padding : 20px ;
3142 margin : 40px auto 0 auto;
32- color : # ffffff ;
43+ color : var ( --WHITE-COLOR ) ;
3344}
3445form : hover {
3546 box-shadow : 0 0 30px # b80044de ;
@@ -49,12 +60,12 @@ form input{
4960 padding : 13px 8px ;
5061 margin-top : 20px ;
5162 background : # 2c234452 ;
52- color : # eeeeeec6 ;
63+ color : var ( --GRAY-COLOR ) ;
5364 border : 1px solid # b80044a2 ;
5465 border-radius : 35px ;
5566}
5667form input ::placeholder {
57- color : # eeeeeec6 ;
68+ color : var ( --GRAY-COLOR ) ;
5869}
5970
6071form .checked {
@@ -66,7 +77,7 @@ form .checked{
6677 padding : 0 ;
6778 width : 15px ;
6879 height : 15px ;
69- border : 1px solid # eeeeeec6 ;
80+ border : 1px solid var ( --GRAY-COLOR ) ;
7081 border-radius : 5px ;
7182 appearance : none;
7283 cursor : pointer;
@@ -76,7 +87,7 @@ form .checked{
7687}
7788.checked input [type = "checkbox" ]: checked ::after {
7889 content : "ok" ;
79- color : # ffffff ;
90+ color : var ( --WHITE-COLOR ) ;
8091 font-size : 10px ;
8192 text-align : center;
8293}
@@ -92,14 +103,14 @@ form button{
92103 margin-top : 30px ;
93104 font-weight : bold;
94105 font-size : 20px ;
95- color : # ffffff ;
106+ color : var ( --WHITE-COLOR ) ;
96107 background : # b80044ce ;
97108 border-radius : 35px ;
98109 border : none;
99110 cursor : pointer;
100111}
101112form button : hover {
102- background : # d90145 ;
113+ background : var ( --DANGER-TEXT-COLOR ) ;
103114}
104115
105116form .account {
You can’t perform that action at this time.
0 commit comments