-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
152 lines (136 loc) · 2.47 KB
/
styles.css
File metadata and controls
152 lines (136 loc) · 2.47 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
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
html {
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
font-family: 'Dosis', sans-serif;
line-height: 1.6;
color: #666;
background: #F6F6F6;
}
#app {
max-width: 1200px;
margin: 0 auto;
}
h1 {
text-align: center;
padding: 1.5rem 2.5rem;
background-image: linear-gradient(120deg, #ADE71D 0%, #a6c1ee 100%);
margin: 0 0 2rem 0;
font-size: 1.5rem;
color: white;
}
img {
display: block;
margin: 1rem auto;
max-width: 100%;
max-height: 800px;
}
p {
/*padding: 0 2.5rem 2.5rem;*/
margin: 0;
}
.container {
position: relative;
display: block;
text-align: center;
color: #F3DE2C;
margin-left: auto;
margin-right: auto;
margin-bottom: 4.5em;
}
.centered {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
.results {
font-size: 3vw;
font-weight: bold;
word-wrap: break-word;
text-shadow: -1px -1px 0 #000,
1px -1px 0 #000,
-1px 1px 0 #000,
1px 1px 0 #000;
}
.buttonleft {
position: absolute;
left: -10px;
top: 50%;
border: none;
color: green;
content: url("images/Larrow.png");
max-width: 100px;
max-height: 100px;
width: 5em;
height: 5em;
}
.buttonright {
position: absolute;
right: -10px;
top: 50%;
border: none;
color: green;
content: url("images/Rarrow.png");
max-width: 100px;
max-height: 100px;
width: 5em;
height: 5em;
}
@media (max-width: 1000px) {
/* CSS that should be displayed if width is equal to or less than 800px goes here */
.buttonleft {
position: absolute;
left: 10%;
top: -115px;
border: none;
color: green;
content: url("images/Larrow.png");
max-width: 100px;
max-height: 100px;
width: 5em;
height: 5em;
}
.buttonright {
position: absolute;
right: 10%;
top: -115px;
border: none;
color: green;
content: url("images/Rarrow.png");
max-width: 100px;
max-height: 100px;
width: 5em;
height: 5em;
}
.results {
font-size: 1.5em;
font-weight: bold;
word-wrap: break-word;
text-shadow: -1px -1px 0 #000,
1px -1px 0 #000,
-1px 1px 0 #000,
1px 1px 0 #000;
}
}
.buttonrandom {
display: inline-block;
border: solid;
color: green;
content: url("images/random.jpg");
max-width: 100px;
max-height: 100px;
width: 50%;
height: 50%;
}
.nav-buttons {
background-color: #4CAF50;
color: white;
border: none;
}
.frown {
display: block;
max-width: 230px;
max-height: 95px;
width: auto;
height: auto;
}