-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathstyle.css
105 lines (95 loc) · 1.93 KB
/
style.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
98
99
100
101
102
103
104
105
* {
box-sizing: border-box;
}
body {
margin: 0;
font-family: Arial;
background-color: #f7f7f7;
}
.container{
width: 60%;
/* background-color: white; */
left: 20%;
top: auto;
position: absolute;
/* border: 2px solid #e4dfdf; */
}
.header {
text-align: center;
padding: 32px;
}
h1{
text-align: center;
}
.row {
display: -ms-flexbox; /* IE10 */
display: flex;
-ms-flex-wrap: wrap; /* IE10 */
flex-wrap: wrap;
padding: 0 4px;
}
/* Create four equal columns that sits next to each other */
.column {
-ms-flex: 25%; /* IE10 */
flex: 25%;
max-width: 25%;
padding: 0 4px;
border: 1px solid #e8e8e8;
}
.column img {
margin-top: 8px;
vertical-align: middle;
width: 80%;
/* height: 80%; */
margin: 10%;
}
/* Responsive layout - makes a two column-layout instead of four columns */
@media screen and (max-width: 800px) {
.column {
-ms-flex: 50%;
flex: 50%;
max-width: 50%;
}
}
/* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 600px) {
.column {
-ms-flex: 100%;
flex: 100%;
max-width: 100%;
}
}
input[type=text] {
/* width: 100%; */
padding: 12px 20px;
margin: 8px 8px;
/* display: inline-block; */
border: 1px solid #ccc;
border-radius: 4px;
box-sizing: border-box;
margin: auto;
display: flex;
width: 80%;
}
input[type=submit] {
/* width: 100%; */
background-color: #febd69;
color: white;
padding: 14px 20px;
margin: 8px 0;
border: none;
border-radius: 4px;
cursor: pointer;
margin: auto;
display: flex;
/* width: 13%; */
}
input[type=submit]:hover {
background-color: #e6a148;
}
form{
margin: auto;
display: flex;
width: 25%;
padding-bottom: 1em;
}