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

    ul {
	list-style: none;
	margin: 1rem auto;
	padding: 1rem;
	display: flex;
	width: 100%;
	background-color: $bg-txt-on;
	
	li {
	    margin: 0 auto;
	    flex: 1;
	    text-align: center;
	    width: 12rem;
	    background-color: $bg-txt-on;

	    a {
		display: inline-block;
		position: relative;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		padding: 0;
		background-color: $bg-txt-off;
		color: white;

		&:last {
		    padding-right: 0;
		}

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