Skip to content

Commit 5b3912f

Browse files
committed
minor size change
1 parent 2bba492 commit 5b3912f

1 file changed

Lines changed: 28 additions & 9 deletions

File tree

media/style/d120/header.css

Lines changed: 28 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ header {
1515
/* navbar and container */
1616
.header-top-container-wrapper {
1717
border-top: 3px solid var(--main-background-color);
18+
width: 100%;
1819
}
1920

2021
.header-top-container {
@@ -24,14 +25,17 @@ header {
2425
align-items: center;
2526
background-color: var(--main-background-color);
2627
border-top: 1px solid var(--main-theme-color);
28+
width: 100%;
29+
min-height: 60px;
2730
}
2831

2932
.header-side-container {
3033
display: flex;
3134
flex-direction: row;
3235
justify-content: space-around;
3336
align-items: center;
34-
gap: calc(10px + 1vw);
37+
gap: calc(5px + 0.5vw);
38+
max-width: 100%;
3539
}
3640

3741
.navigation {
@@ -59,7 +63,7 @@ header {
5963
justify-content: center;
6064
gap: 8px;
6165
color: var(--header-link-highlight);
62-
padding: 1rem 1.5rem;
66+
padding: 0.8rem 1rem;
6367
font-size: 1rem;
6468
line-height: 1.2;
6569
border-top: 1px solid transparent;
@@ -77,7 +81,7 @@ header {
7781
justify-content: center;
7882
align-items: center;
7983
gap: 8px;
80-
padding: 1rem 1.5rem;
84+
padding: 0.8rem 1rem;
8185
font-size: 1rem;
8286
line-height: 1.2;
8387
border-top: 1px solid transparent;
@@ -91,16 +95,24 @@ header {
9195
justify-content: center;
9296
text-align: center;
9397
gap: 2px;
98+
padding: 0.5rem 0.8rem;
9499
}
95100

96101
.header-label {
97-
font-size: 0.8rem;
102+
display: inline;
103+
font-size: 0.75rem;
98104
}
99105
}
100106

101-
@media (max-width: 575px) {
107+
@media (min-width: 992px) {
108+
.header-link, .header-button {
109+
flex-direction: row;
110+
padding: 1rem 1.5rem;
111+
font-size: 1rem;
112+
}
113+
102114
.header-label {
103-
display: none;
115+
font-size: 1rem;
104116
}
105117
}
106118

@@ -168,20 +180,27 @@ header {
168180
/* fachsschaft logo behaviour (also respnsive) */
169181

170182
.header-logo {
171-
max-height: 80px;
172183
display: none;
173-
width: auto;
184+
width: 40px;
185+
height: 40px;
174186
}
175187

176-
@media (min-width: 480px) and (max-width: 767px) {
188+
@media (min-width: 480px) {
177189
.header-logo-small {
178190
display: block;
191+
width: 60px;
192+
height: 60px;
179193
}
180194
}
181195

182196
@media (min-width: 768px) {
197+
.header-logo-small {
198+
display: none;
199+
}
183200
.header-logo-big {
184201
display: block;
202+
width: 200px;
203+
height: 80px;
185204
}
186205
}
187206

0 commit comments

Comments
 (0)