-
Notifications
You must be signed in to change notification settings - Fork 0
/
tut39a.css
97 lines (91 loc) · 1.52 KB
/
tut39a.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
/*CSS reset*/
*{
margin: 0px;
padding: 0px;
}
/*CSS Variables*/
:root{
--navbar-height:59px
}
/* Navigation Bar */
#navbar{
display: flex;
align-items: center;
}
#navbar::before{
content: "";
background-color: black;
position: absolute;
height: 100%;
width: 100%;
z-index: -1;
opacity: 0.25;
}
/*Navigation Bar:logo*/
#logo{
margin: 16px -11px;
margin-right: 23px;
padding: 0px 23px;
}
#logo img{
height: 81px;
margin: 11px -9px;
}
/*Navigation Bar:list*/
#navbar{
position: relative;
}
#navbar ul{
display: flex;
margin: auto;
}
#navbar ul li{
list-style: none;
font-size: 1.2rem;
}
#navbar ul li a{
color: white;
text-decoration: none;
padding: 23px 70px;
font-family: equinox;
}
#navbar ul li a:hover{
/* background-color: transparent; */
border: 2px solid white;
}
/* Home section */
#home{
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
padding: 3px 200px;
margin-top: 23px;
height: 373px;
}
#home::before{
content: "";
position: absolute;
height: 100%;
width: 100%;
background: url('bg1.jpeg') no-repeat center center/cover;
z-index: -2;
opacity: 0.89;
}
#home{
text-align: center;
font-size: 1.5rem;
}
/* Utility Class */
.h-primary{
font-size: 3.8rem;
padding: 12px;
}
.btn{
padding: 6px 20px;
margin: 15px 2px;
border: 2px solid silver;
border-radius: 3px;
font-size: 1.1rem;
cursor: pointer;
}