-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.css
104 lines (90 loc) · 1.71 KB
/
main.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
/* BODY & HTML */
body, html {
height: 100%;
margin: 0;
overflow: hidden;
font-family: 'Didact Gothic', sans-serif;
cursor: default;
background-size: cover;
background-color: black;
background-attachment: fixed;
background-position: center center;
}
/* ALL LINKS */
a {
text-decoration: none;
color: white;
}
/* LINKS THAT DON'T CHANGE COLOR ON HOVER */
#nohover:hover {
color: white;
}
/* ICON BEFORE */
.fa-times-thin:before {
content: '\00d7';
}
/* CONTAINER */
.container {
position: relative;
text-align: center;
color: white;
}
/* IMAGE ID */
#img {
display: inline-block;
width: auto;
height: 100%;
}
/* POSITIONING ON BG IMAGE */
.bottom-left {
position: absolute;
bottom: 8px;
left: 16px;
}
.top-right {
position: absolute;
top: 8px;
right: 16px;
}
.centered {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
/* SIDENAV */
.sidenav {
height: 100%;
width: 0;
position: fixed;
z-index: 1;
top: 0;
left: 0;
opacity: 0.8;
background-color: #111;
overflow-x: hidden;
transition: 0.5s;
padding-top: 60px;
}
.sidenav a {
padding: 8px 8px 8px 32px;
text-decoration: none;
font-size: 25px;
color: #ffffff;
display: block;
transition: 0.3s;
}
.sidenav a:hover {
color: #818181;
}
.sidenav .closebtn {
position: absolute;
top: 0;
right: 25px;
font-size: 36px;
margin-left: 50px;
}
@media screen and (max-height: 450px) {
.sidenav {padding-top: 15px;}
.sidenav a {font-size: 18px;}
}