aboutsummaryrefslogtreecommitdiff
path: root/assets/scss/_header-nav.scss
blob: 83dd2b81d6b05e7b097b57c7a60a715189f0e1aa (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
article > header > nav {
    margin: 0 auto;

    ul {
	list-style: none;
	margin: 1rem auto;
	padding: 0;
	display: flex;
	width: 100%;
	background-color: $bg-header;
	color: $fg-header;

	li {
	    margin: 0 auto;
	    padding: 0.5rem;
	    flex: 1;
	    text-align: center;
	    border: 1px solid;
	    width: 12rem;

	    a {
		display: inline-block;
		position: relative;
		width: 100%;
		height: 100%;
	    }
	}
    }
}

body.txt article > header > nav a {
    background-color: $bg-txt-off;

    &:hover, &:active {
	background-color: $bg-txt-on;
    }
}

body.txt article > header > nav a {
    text-decoration: none;
    background-color: $bg-header;

    &:link {
	color: $fg-header;
    }
    &:hover {
	background-color: $bg-txt-on;
	color: $a-hover;
	text-decoration: underline;
    }
    &:active {
	color: $a-active;
    }
    &:visited {
	color: $fg-header;
    }
}