-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.css
79 lines (68 loc) · 1.08 KB
/
index.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
* main {
box-sizing: border-box;
}
body {
padding: 10px;
}
section {
background-color: red;
padding: 10px;
border-radius: 5px;
margin-bottom: 10px;
}
h1 {
margin: 0;
margin-bottom: 20px;
color: white;
text-shadow: 2px 2px 2px black;
font-family: Arial;
font-size: 30px;
}
input[type="text"] {
height: 25px;
padding-left: 5px;
border-radius: 2px;
border: none;
}
button {
height: 25px;
margin-top: 5px;
background-color: white;
border: none;
border-radius: 2px;
}
.results {
display: relative;
margin-left: auto;
margin-right: auto;
text-align: center;
}
.col-1 {
border-radius: 2px;
width: 100%;
margin-right: auto;
margin-left: auto;
margin-bottom: 5px;
}
@media only screen and (min-width: 450px){
.col-1 {
float: left;
width: 50%;
}
.col-1::after, .col-1::before {
display: table;
content: '';
clear: both;
}
}
@media only screen and (min-width: 800px){
.col-m-3 {
float: left;
width: 33.333%;
}
.col-m-3::after, .col-m-3::before {
display: table;
content: '';
clear: both;
}
}