-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
87 lines (75 loc) · 2.05 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
body,h1,h2,h3,h4,h5,h6 {font-family: "Lato", sans-serif}
.w3-bar,h1,button {font-family: "Montserrat", sans-serif}
.fa-anchor,.fa-coffee {font-size:200px}
.overlay {height: 0%; width: 100%; position: fixed; z-index: 1; top: 0; left: 0; background-color: rgb(0,0,0); background-color: rgba(0,0,0, 0.9); overflow-y: hidden; transition: 0.5s;}
.overlay-content {position: relative; top: 25%; width: 100%; text-align: center; margin-top: 30px;}
.overlay a {padding: 8px; text-decoration: none; font-size: 28px; color: #818181; display: block; transition: 0.3s;}
.overlay a:hover, .overlay a:focus {color: #f1f1f1;}
.overlay .closebtn {position: absolute; top: 20px; right: 45px; font-size: 60px;}
@media screen and (max-height: 450px) {
.overlay {overflow-y: auto;}
.overlay a {font-size: 20px}
.overlay .closebtn {font-size: 40px; top: 15px; right: 35px;}
}
.navbar {
overflow: hidden;
background-color: #333;
}
.navbar a {
float: left;
font-size: 16px;
color: white;
text-align: center;
padding: 14px 16px;
text-decoration: none;
}
.subnav {
float: left;
overflow: hidden;
}
.subnav .subnavbtn {
font-size: 16px;
border: none;
outline: none;
color: white;
padding: 14px 16px;
background-color: inherit;
font-family: inherit;
margin: 3;
}
.navbar a:hover, .subnav:hover .subnavbtn {
overflow: hidden;
background-color: white;
color: black;
}
.subnav-content {
display: none;
position: absolute;
left: 0;
background-color: white;
width: 100%;
z-index: 1;
}
.subnav-content a {
float: left;
color: black;
text-decoration: none;
}
.subnav-content a:hover {
background-color: #eee;
color: black;
}
.subnav:hover .subnav-content {
display: block;
}
/* Animating the rest of the items on the webpage*/
.zoom {
transition: transform 0.2s; /* Animation */
margin: 0 auto;
border-radius: 25px;
}
.zoom:hover {
transform: scale(
1.5
); /* (150% zoom - Note: if the zoom is too large, it will go outside of the viewport) */
}