blob: a0334d29953d5c555ec1facc0188735d7e9e3139 (
plain)
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
|
#!/bin/bash
cat <<NAV
<style>
.top-nav {
position: sticky;
top: 0px;
display: inline-flex;
background-color: var(--primary-fg);
height: 40px;
width: calc(100% - 50px);
align-items: center;
margin-left: 10px;
margin-right: 10px;
padding-left: 15px;
padding-right: 15px;
}
.nav-header a {
color: black;
text-shadow: #e0e0e0 1px 1px 0;
font-size: 1.8rem;
text-decoration: none;
}
.nav-links {
padding: 0px 20px 0px 20px;
align-self: center;
height: 100%;
}
.nav-links li {
position: relative;
align-items: center;
}
.nav-links a {
color: var(--primary-bg);
text-decoration: none;
display: block;
line-height: 40px;
}
.nav-links li:hover {
background-color: var(--primary-bg);
}
.nav-links li:hover a {
text-decoration: underline;
color: var(--primary-fg);
}
@media screen and (max-width: 601px) {
.top-nav {
flex-direction: column;
height: auto;
padding-bottom: 10px;
position: relative;
}
.nav-links {
height: auto;
}
.nav-header {
padding-top: 25px;
padding-bottom: 10px;
display: block;
text-align: center;
}
.nav-header a {
font-size: 1.6rem;
}
.top-nav ul {
display: contents;
}
.top-nav ul > li {
width: 100%;
height: 25px;
text-align: center;
}
.nav-links a {
line-height: 25px;
}
}
</style>
<nav class="top-nav">
<div class="pad-left"></div>
<span class="nav-header">
<a href="https://jefferson.sh">jefferson.sh</a>
</span>
<ul class="nav-links">
<li> <a href="/">InĂcio</a> </li>
<li> <a href="/contato">Contato</a> </li>
</ul>
<div class="pad-right"></div>
</nav>
NAV
|