-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathheader.html
More file actions
52 lines (52 loc) · 1011 Bytes
/
Copy pathheader.html
File metadata and controls
52 lines (52 loc) · 1011 Bytes
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
<style>
header {
position: sticky;
top: -5rem;
}
header > h1 {
margin-left: 15%;
margin-top: 0;
margin-bottom: 0;
padding-top: 1rem;
padding-bottom: 1rem;
height: 3rem;
}
header > nav {
display: flex;
height: 3rem;
margin: 0;
background: #99bbdd;
color: white;
flex-direction: row;
justify-content: center;
}
header > nav > ul {
list-style: none;
margin: 0;
padding: 0;
display: inline-flex;
flex-direction: row;
}
nav > ul > li {
transition: background-color 0.1s;
}
nav > ul > li:hover {
background-color: #ffffff22;
}
nav > ul > li > a {
padding: 0.75rem;
text-decoration: none;
color: inherit;
display: inline-block;
}
</style>
<header>
<h1>RasPython3's Room</h1>
<nav>
<ul>
<li><a href="%BASE%/index.html">HOME</a></li>
<li><a href="%BASE%/articles.html">ARTICLES</a></li>
<li><a href="%BASE%/about.html">ABOUT</a></li>
</ul>
</nav>
</header>