-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathstyles.css
97 lines (83 loc) · 1.47 KB
/
styles.css
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
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
header {
margin: 0;
background-color: #f8f8f8;
box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}
h1 {
margin: 0;
font-family: 'Montserrat', sans-serif;
color: #333;
}
main {
background-color: #f2f2f2;
padding: 50px 0px;
}
article {
margin: 10px;
padding: 20px;
width: calc(33.33% - 20px);
background-color: white;
box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}
@media (min-width: 600px) {
article {
flex-basis: calc(50% - 20px);
}
}
@media (min-width: 900px) {
article {
flex-basis: calc(33.33% - 20px);
}
}
h2 {
margin-bottom: 20px;
font-family: 'Open Sans', sans-serif;
color: #333;
}
ul {
margin: 0;
padding: 0;
list-style: none;
}
li {
margin-bottom: 10px;
font-family: 'Open Sans', sans-serif;
color: #555
}
form {
background-color: #f2f2f2;
padding: 20px;
border-radius: 5px;
margin-top: 20px;
}
label {
display: block;
margin-bottom: 5px;
font-weight: bold;
}
input[type="text"],
input[type="email"],
textarea {
width: 100%;
padding: 10px;
margin-bottom: 10px;
border: none;
border-radius: 5px;
background-color: #fff;
}
button[type="submit"] {
background-color: #4caf50;
color: white;
padding: 10px 20px;
border: none;
border-radius: 5px;
cursor: pointer;
}
button[type="submit"]:hover {
background-color: #3e8e41
}