Header.css
1.24 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
/*
* Header styles
*/
#header {
background: rgba(0, 0, 0, 0.7);
position: fixed;
width: 100%;
height: 5em;
margin-top: 1.875em;
z-index: 10;
}
/*
* Logo styles
*/
#logo {
height: 100%;
width: 60%;
}
#logo img,
#logo .logotitle {
position: relative;
top: 50%;
transform: translate(0, -50%);
}
#logo img {
border: 0.125em solid white;
border-radius: 0.625em;
padding: 2px;
opacity: 0.4;
margin: 0 1em;
float: left;
height: 85%;
}
#logo .logotitle a {
color: rgb(255,255,255);
text-decoration: none;
font-size: 1.875em;
font-family: Arkitech;
}
#logo .logotitle span {
color: rgb(255,255,255);
text-decoration: none;
font-family: Arkitech;
}
/*
* Navigation bar styles
*/
#nav {
position: absolute;
top: 50%;
left: 85%;
transform: translate(-50%, -50%);
width: 26.875em;
clear: both;
}
#nav ul {
display: block;
list-style: none;
}
#nav li {
float: left;
padding-left: 21px;
}
#nav li a {
color: rgba(255,255,255,0.4);
font-size: 1em;
text-decoration: none;
font-weight: bold;
outline: 0;
cursor: pointer;
}
#nav li a:hover,
#nav li a:active {
color: rgba(255,255,255,0.7);
}
#nav li a.active {
color: rgba(255,255,255,1);
border-bottom: 0.125em solid rgb(255,255,255);
}