File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ header {
2+ background-color : # 1f4e79 ;
3+ color : white;
4+ text-align : center;
5+ padding : 20px ;
6+ }
7+ h1 {
8+ margin : 0 ;
9+ }
10+ fieldset {
11+ margin-bottom : 20px ;
12+ padding : 15px ;
13+ border : 1px solid # bbb ;
14+ border-radius : 4px ;
15+ }
16+ legend {
17+ font-weight : bold;
18+ padding : 05px ;
19+ }
20+
21+ fieldset input [type = "radio" ] {
22+ margin-right : 5px ;
23+ }
24+
25+ fieldset label {
26+ display : inline;
27+ margin-right : 15px ;
28+ font-weight : normal;
29+ }
30+
31+ body {
32+ font-family : Arial, sans-serif;
33+ background-color : # f5f7fa ;
34+ margin : 0 ;
35+ padding : 0 ;
36+ color : # 333 ;
37+ }
38+ main {
39+ display : flex;
40+ justify-content : center;
41+ padding : 30px 15px ;
42+ }
43+ form {
44+ background-color : white;
45+ padding : 25px ;
46+ width : 100% ;
47+ max-width : 500px ;
48+ border-radius : 8px ;
49+ box-shadow : 0 2px 8px rgba (0 , 0 , 0 , 0.15 );
50+ }
51+ div {
52+ margin-bottom : 20px ;
53+ }
54+ label {
55+ display : flex;
56+ margin-bottom : 5px ;
57+ font-weight : bold;
58+ }
59+ input [type = "text" ],
60+ input [type = "email" ],
61+ select {
62+ width : 100% ;
63+ padding : 10px ;
64+ border : 1px solid # bbb ;
65+ border-radius : 4px ;
66+ font-size : 1rem ;
67+ }
68+ input [type = "submit" ] {
69+ width : 100% ;
70+ background-color : # 1f4e79 ;
71+ color : white;
72+ border : none;
73+ padding : 12px ;
74+ border-radius : 4px ;
75+ font-size : 1rem ;
76+ cursor : pointer;
77+ }
78+
79+ input [type = "submit" ]: hover {
80+ background-color : # 163b5c ;
81+ }
82+ footer {
83+ text-align : center;
84+ background-color : # 1f4e79 ;
85+ color : white;
86+ padding : 15px ;
87+ margin-top : 20px ;
88+ }
You can’t perform that action at this time.
0 commit comments