forked from BidyasagarAnupam/YearBook
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
88 lines (78 loc) · 1.48 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
@import url('https://fonts.googleapis.com/css2?family=Rubik:ital,wght@0,300;1,300&display=swap');
* {
margin: 0;
padding: 0;
box-sizing: border-box;
list-style: none;
font-family: 'Rubik', sans-serif;
font-weight: lighter;
}
.wrapper {
width: 100vw;
height: 100vh;
background: url(./img/academic.jpg) fixed no-repeat;
background-size: cover;
color: #fff;
overflow: hidden;
position: relative;
background-position: 0% 25% !important;
box-shadow: inset 0 0 0 1000px rgba(0, 0, 0, 0.62);
/* height: 100vh; */
}
.nav-bar {
margin: 2rem auto;
width: 60%;
max-width: 1200px;
}
.nav-bar > ul {
width: 100%;
display: flex;
justify-content: space-evenly;
align-items: center;
}
li > a {
text-decoration: none;
color: white;
}
li > a:hover {
text-decoration: underline;
}
/* Dropdown Button */
.dropbtn {
all: unset;
color: white;
/* padding: 16px; */
font-size: 16px;
border: none;
cursor: pointer;
}
.dropdown-content {
display: none;
position: absolute;
background-color: #f1f1f1;
min-width: 160px;
box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
z-index: 1;
}
.dropdown-content a {
color: black;
padding: 12px 16px;
text-decoration: none;
display: block;
}
.dropdown-content a:hover {
background-color: #ddd;
}
.show {
display: block;
}
.hero-section{
height: 70vh;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
.hero-section img {
height: 220px;
}