katja's git: oeffisearch

fast and simple tripplanner

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 
.header-container {
	position: sticky;
	top: 0;
	z-index: 10;

	header {
		display: flex;
		flex-direction: row;
		justify-content: center;
		color: white;
		background-color: #33691E;
		border-bottom: 1px solid rgba(255, 255, 255, .3);

		.container {
			width: 80vw;
			margin: 0;
		}

		h3 {
			margin-right: 1.5em;
		}

		[class^="icon-"]:not(.mode-changers *) {
			cursor: pointer;
			width: 32px;
			height: 32px;
			margin: 12px;
			user-select: none;
		}

		.icon-reload {
			float: right;
		}

		.mode-changers {
			margin-top: auto;
			margin-left: auto;
			height: max-content;

			a {
				border-bottom: 3px solid transparent;
				align-items: center;
				display: flex;
				padding: 0 1em;
				cursor: pointer;
				text-decoration: none;
				width: max-content;
		
			 	span {
					font-weight: bold;
					margin: 1em .4em;
				}
			}

			a.active {
				border-bottom: 3px solid white;
			}
		}
	}
}

@media (max-width: 650px) {
	header {
		padding-top: 10px;

		.mode-changers {
			margin: auto;
		}

		h3 {
			margin: 8px 0;
		}
	}
}

@media (max-width: 799px) {
	header {
		.icon-back {
			left: 10px;
		}
	}
}