This repository was archived by the owner on Jul 22, 2021. It is now read-only.
Repository navigation
Expand file tree
/
Copy pathmain.css
More file actions
120 lines (111 loc) · 2.48 KB
/
Copy pathmain.css
File metadata and controls
120 lines (111 loc) · 2.48 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
* {
box-sizing: border-box;
font-family: raleway, sans-serif; }
.container {
width: 100%; }
/* Hero Image etc */
.hero {
position: relative; }
.hero #hamburger {
display: none; }
.hero #banner {
width: 100%;
display: inline-block;
vertical-align: middle;
font: 0/0 serif;
text-shadow: none;
color: transparent;
background-size: 100%;
background-position: 50% 50%;
background-repeat: no-repeat;
transition: 3s; }
.hero #banner .inner {
padding-top: 20%;
/* height/width of image, assumging 5:1 ratio */
display: block;
height: 0; }
.hero .overlay {
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
color: white; }
.hero .overlay .logo {
width: 5vw;
height: auto;
color: white; }
.hero .overlay h1 {
color: white;
font-family: expletus, serif;
font-size: 4vw;
text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.7);
margin: .5vw 0; }
.hero .overlay h3 {
color: white;
font-size: 2vw;
margin: .3vw 0; }
#hamburger,
#close-btn {
position: absolute;
top: 10px;
left: 10px;
color: black;
z-index: 3; }
#hamburger {
color: white; }
.sidenav {
display: flex;
flex-direction: column;
justify-content: space-between;
height: 100%;
width: 0;
position: fixed;
z-index: 1;
top: 0;
left: 0;
background: linear-gradient(to bottom, white 0, #b3b3b3 100%);
overflow-x: hidden;
transition: 0.5s;
padding-top: 60px;
box-shadow: 9px 0px 15px -4px rgba(0, 0, 0, 0.75); }
.sidenav ul {
list-style: none;
padding-left: 0px; }
.sidenav li a {
color: black;
padding: 8px 8px 8px 32px;
text-decoration: none;
font-size: 25px;
color: black;
display: block;
transition: 0.3s; }
.sidenav li a:hover {
letter-spacing: 2px;
font-weight: bold;
box-shadow: 9px 0px 15px -4px rgba(0, 0, 0, 0.75); }
.sidenav #social {
margin: 30px 20px;
display: flex;
justify-content: space-around; }
.sidenav #social a {
color: black; }
.sidenav-open {
width: 250px; }
.move-right {
margin-left: 250px; }
#main {
height: 100vh;
transition: margin-left .5s;
background: white;
color: black; }
#main .text-content {
margin: 10px 20px; }
#main h2 {
font-family: expletus, serif;
text-decoration: underline; }
/*# sourceMappingURL=main.css.map */