-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
228 lines (191 loc) · 4.11 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
216
217
218
219
220
221
222
223
224
225
226
body {
padding: 1%;
margin-top: 0;
margin-bottom: 1%;
background-color: #531D6D;
}
header {
background: linear-gradient( #531D6D,#BF1639);;
height: 15vh;
margin-top: 2%;
margin-bottom: 2%;
}
h1 {
padding: 2%;
font-size: 250%;
text-align: center;
text-transform: uppercase;
color: #fff;
}
h2 {
padding: 0%;
font-size: 150%;
color: #2F0841;
text-transform: uppercase;
/*adding-top: 2%;*/
padding-bottom: 2%;
}
p {
font-size: 120%;
}
img {
display: block;
margin-left: auto;
margin-right: auto;
border: 10px solid #fff;
border-radius: 4px;
/*padding: 5px;*/
object-fit: cover;
max-width: 95%;
}
#home {
position: absolute;
right: 10px;
top: 10px;
display: block;
background-color: #ffffff;
}
.link {
color: #BF1639;
text-decoration: none;
}
.link:hover {
background-color: #fff;
color: #EFBDEB;
text-decoration: none;
}
#text {
display: none;
}
div.intro {
font-size: 120%;
margin-left: 3%;
margin-right: 3%;
margin-bottom: 2%;
padding: 2%;
background-color: #fff;
color: #2F0841;
}
div #myDIV1 {
margin-left: 1%;
margin-right: 1%;
display: flex;
flex-wrap: wrap;
/* flex-direction: row; */
justify-content: space-evenly;
align-items: stretch;
padding: 1%;
}
.mandelbulb {
margin-left: auto;
margin-right: auto;
margin-bottom: 1%;
padding: 1%;
background-color: #fff;
font-size: 120%;
color: #2F0841;
width: 39vw;
flex-direction: row;
text-align: center;
}
/*Hide nav bar for mobile devices*/
nav .topNav {
visibility: hidden !important;
}
/* When you mouse over the navigation links, change their color */
.overlay a:hover,
.overlay a:focus {
color: #5eb5fb;
background-color: #fff;
}
/* Position the close button (top right corner) */
.overlay .closebtn {
position: absolute;
top: 20px;
right: 45px;
font-size: 40px;
}
.active {
color: #0D78AA;
background-color: #ffffff;
opacity: 80%;
}
/* When the height of the screen is less than 450 pixels, change the font-size of
the links and position the close button again, so they don't overlap */
/*@media screen and (max-height: 600px) {
.overlay a {
font-size: 20px
}
.overlay .closebtn {
font-size: 40px;
top: 15px;
right: 35px;
}
h2 {
font-size: 100%;
}
}*/
/* @media screen and (min-width: 600px) {
.flex-container #myDIV1 {
display: flex;
flex-direction: row;
}
.flex-container #myDIV2 {
display: flex;
flex-direction: row;
}
#ham {
display: none;
}
.topNav {
width: 100%;
text-align: center;
}
/*
.topNav a {
visibility: hidden;
background-color: transparent;
color: white;
font-weight: bold;
font-size: 100%;
text-align: center;
width: 20%;
padding: 2px;
text-decoration: none;
border: 4px solid #ffffff;
border-radius: 4px;
margin-top: 5%;
margin-left: 5%;
margin-right: 5%;
}
*/
.topNav a:active {
color: #BF1261 !important;
border: 4px solid #fff;
}
.topNav a:hover {
color: #fff;
border: 4px solid #fff;
}
/* When the screen is less than 600 pixels wide, hide all links, except for the first one ("Home").
Show the link that contains should open and close the topnav (.icon) */
@media screen and (min-width: 600px) {
.topnav a:not(:first-child) {
display: flex;
}
.topnav a.icon {
display: none;
}
/* @media only screen and (min-width: 600px) {
.div #myDIV1 {
flex-direction: row;
} */
}
/* The "responsive" class is added to the topnav with JavaScript when the user clicks on the icon.
This class makes the topnav look good on small screens (display the links vertically instead of horizontally) */
@media screen and (min-width: 780px) {
.topnav.responsive a {
float: none;
display: flex;
}
}