-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
215 lines (171 loc) · 3.66 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
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
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
body {
background-color: white;
}
#container-jumbotron.jumbotron {
margin-bottom: 0rem;
padding-bottom: 1rem;
}
#container-background {
display: grid;
height: 100%;
}
.hogwarts {
max-width: 100%;
max-height: 100%;
margin: auto;
}
#container-form {
text-align: center;
border: 2px solid black;
margin: 75px 50px 0px;
padding: 20px 60px;
border-radius: 10px;
}
.form {
margin: 0px 0px 10px;
}
div#container-buttons {
justify-content: space-evenly;
display: inline-flex;
margin: 50px 0px 50px;
}
#container-houses {
position: relative;
display: grid;
height: 100%;
}
img.houses {
max-width: 100%;
max-height: 100%;
margin: 0;
}
div#container-student {
position: absolute;
display: flex;
flex-wrap: wrap;
flex-direction: row;
justify-content: center;
text-align: center;
}
div#container-army {
display: flex;
flex-wrap: wrap;
flex-direction: row;
justify-content: center;
top: 250px;
}
.house-button {
width: 200px;
}
div.card {
border: 2px solid black;
margin: 40px 0px;
border-radius: 10px;
width: 300px;
}
.card-body {
padding: 20px 0px;
}
h5.card-title {
font-size: 30px;
text-align: center;
}
p.card-text {
font-size: 20px;
text-align: center;
}
.card-subtitle {
padding: 10px;
}
a.btn.btn-primary {
width: 125px;
}
button#startSort.btn.btn-primary {
width: 125px;
}
a#start-sort.btn.btn-primary.btn-lg {
width: 250px;
}
p.card-text.Gryffindor {
background-color: #b71c1c;
color: white;
}
p.card-text.Ravenclaw {
background-color: #0d47a1;
color: white;
}
p.card-text.Slytherin {
background-color: #1b5e20;
color: white;
}
p.card-text.Hufflepuff {
background-color: #fdd835;
color: white;
}
/* ----------- iPhone X ----------- */
/* Portrait and Landscape */
@media only screen
and (min-device-width: 375px)
and (max-device-width: 812px)
and (-webkit-min-device-pixel-ratio: 3) {
}
/* Portrait */
@media only screen
and (min-device-width: 375px)
and (max-device-width: 812px)
and (-webkit-min-device-pixel-ratio: 3)
and (orientation: portrait) {
}
/* Landscape */
@media only screen
and (min-device-width: 375px)
and (max-device-width: 812px)
and (-webkit-min-device-pixel-ratio: 3)
and (orientation: landscape) {
}
/* ----------- Galaxy S6 ----------- */
/* Portrait and Landscape */
@media screen
and (device-width: 360px)
and (device-height: 640px)
and (-webkit-device-pixel-ratio: 4) {
}
/* Portrait */
@media screen
and (device-width: 360px)
and (device-height: 640px)
and (-webkit-device-pixel-ratio: 4)
and (orientation: portrait) {
}
/* Landscape */
@media screen
and (device-width: 360px)
and (device-height: 640px)
and (-webkit-device-pixel-ratio: 4)
and (orientation: landscape) {
}
/* ----------- iPad Pro 12.9" ----------- */
/* Portrait and Landscape */
@media only screen
and (min-device-width: 1024px)
and (max-device-width: 1366px)
and (-webkit-min-device-pixel-ratio: 2) {
}
/* Portrait */
/* Declare the same value for min- and max-width to avoid colliding with desktops */
/* Source: https://medium.com/connect-the-dots/css-media-queries-for-ipad-pro-8cad10e17106*/
@media only screen
and (min-device-width: 1024px)
and (max-device-width: 1024px)
and (orientation: portrait)
and (-webkit-min-device-pixel-ratio: 2) {
}
/* Landscape */
/* Declare the same value for min- and max-width to avoid colliding with desktops */
/* Source: https://medium.com/connect-the-dots/css-media-queries-for-ipad-pro-8cad10e17106*/
@media only screen
and (min-device-width: 1366px)
and (max-device-width: 1366px)
and (orientation: landscape)
and (-webkit-min-device-pixel-ratio: 2) {
}