-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.css
More file actions
93 lines (84 loc) · 1.6 KB
/
main.css
File metadata and controls
93 lines (84 loc) · 1.6 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
body {
margin:0;
padding:0;
height:100%;
background: rgb(246,232,255);
background: linear-gradient(135deg, rgba(246,232,255,0.9962359943977591) 0%, rgba(249,249,249,1) 49%, rgba(237,237,237,0.9430147058823529) 100%);
}
.container {
width: 100%;
margin-top:20%;
height: auto;
}
.bottom{
padding: 120px;
}
#results{
display: block;
width: auto;
text-align: center;
font-family: 'Open Sans', sans-serif;
height: 50px;
font-size: 32px;
margin: auto;
}
#results:hover {
font-size: 48px;
cursor: pointer;
}
.male{
width:25%;
float: left;
margin-left: 20%;
background: skyblue;
}
.female{
width: 25%;
float: right;
margin-right: 20%;
background: plum;
}
button {
border-radius: 15px;
height: 80px;
font-family: 'Abel', sans-serif;
font-size: 2.5em;
letter-spacing: 3px;
text-align: center;
}
button:hover {
cursor: pointer;
}
#footer {
position:absolute;
bottom:0;
width:100%;
height:60px; /* Height of the footer */
background:#6cf;
text-align: center;
font-family: 'Abel', sans-serif;
}
/* Smartphones (portrait) ----------- */
@media only screen and (max-width : 420px) {
/* Styles */
button {
border-radius: 15px;
height: 80px;
font-family: 'Abel', sans-serif;
font-size: 2.25em;
letter-spacing: 3px;
text-align: center;
}
.male{
width:45%;
float: left;
margin-left: 1%;
background: skyblue;
}
.female{
width: 45%;
float: right;
margin-right: 1%;
background: plum;
}
}