-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
138 lines (121 loc) · 2.13 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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
body {
margin: 0;
background-color: #ffe4c4;
font-family: "Open Sans", sans-serif;
}
section {
margin: 0;
height: 95vh;
text-align: center;
}
.invisible {
display: none !important;
}
h1 {
font-size: 58px;
color: #c6175b;
text-align: center;
text-shadow: 4px 3px black;
font-family: "Permanent Marker", cursive;
margin: 0 auto 20px;
}
p {
text-align: center;
font-size: 24px;
text-transform: uppercase;
margin: 10px auto;
}
.diceGif {
display: block;
margin-left: auto;
margin-right: auto;
margin: 0 0 50px 0;
width: 300px;
}
.diceContainer {
margin: 80px auto 60px;
width: 300px;
display: flex;
flex-wrap: wrap;
}
.dice {
width: 150px;
}
form {
margin: 0 auto;
width: 300px;
}
input {
border: none;
margin-left: 15px;
border-radius: 8px;
height: 20px;
}
.result {
color: #c6175b;
font-size: 30px;
text-shadow: 1px 2px black;
font-family: "Permanent Marker", cursive;
}
.btn {
background-color: #c6175b;
color: white;
height: 30px;
width: 250px;
border: none;
border-radius: 10px;
text-align: center;
font-size: 16px;
margin: 25px auto 48px;
}
footer {
background-color: #c6175b;
font-size: 16px;
left: 0px;
text-align: center;
line-height: 5vh;
width: 100%;
height: 5vh;
}
/* Extra small devices (phones, 600px and down) */
@media only screen and (min-width: 380px) {
h1 {
padding-top: 50px;
}
.diceGif {
padding-top: 50px;
}
.form {
width: 350px;
padding-top: 80px;
}
}
/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) {
.diceGif {
padding-top: 50px;
margin: 68px auto;
}
}
/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {
h1 {
padding-top: 205px;
}
}
/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {
h1 {
padding-top: 275px;
}
}
/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 1200px) {
h1 {
padding-top: 25px;
}
.diceGif {
padding-top: 10px;
margin: 4px auto;
}
}