-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlayout.css
More file actions
100 lines (94 loc) · 1.72 KB
/
layout.css
File metadata and controls
100 lines (94 loc) · 1.72 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
*,body{
margin: 0;
padding: 0;
font-family: 'Roboto', sans-serif;
font-weight: 300;
}
/* HEADER */
header{
background-color: #e2e2e2;
text-align: center;
padding: 25px 0;
}
header h1{
text-transform: uppercase;
letter-spacing: 2px;
margin-bottom: 8px;
}
header h2{
font-size: 17px;
margin-bottom: 15px;
}
header h3{
line-height: 1.5;
font-size: 15px;
}
header h3 strong{
font-weight: 400;
}
/* MAIN */
main{
width: 80%;
margin: 0 auto;
padding: 50px 0;
}
main div{
display: flex;
justify-content: space-between;
}
main div section{
width: 30%;
padding: 20px 30px;
box-sizing: border-box;
border: 1px solid #000;
border-radius: 8px;
}
main div section h2{
margin-bottom: 10px;
}
main div section input{
margin-bottom: 10px;
width: 100%;
box-sizing: border-box;
padding: 13px 10px;
font-size: 15px;
letter-spacing: 3px;
outline: none;
}
main div section button{
background-color: #a9f6ab;
border: none;
padding: 10px 15px;
font-size: 17px;
font-weight: 400;
color: #2d2d2d;
float: right;
cursor: pointer;
}
main div section button:hover{
background-color: #2d2d2d;
color: #fff;
}
/* FOOTER */
footer{
padding: 10px 0;
text-align: center;
border-top: 1px solid #000;
}
@media screen and (max-width:500px){
header{
padding: 25px;
}
main div{
display: block;
}
main div section{
width: 100%;
margin-bottom: 40px;
}
main div section button{
width: 100%;
box-sizing: border-box;
float: unset;
}
}