2019-01-03 23:30:27 +01:00
|
|
|
.header {
|
|
|
|
background-color: var(--background);
|
|
|
|
position: fixed;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
width: 100%;
|
2019-01-05 21:57:21 +01:00
|
|
|
z-index: var(--z-index-header);
|
2019-01-03 23:30:27 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.header-area {
|
|
|
|
margin: calc(var(--gutter) * 4) calc(var(--gutter) * -1) calc(var(--gutter) * 2) calc(var(--gutter) * -1);
|
2018-12-26 08:45:53 +01:00
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
2018-12-26 18:43:38 +01:00
|
|
|
flex-wrap: wrap;
|
|
|
|
align-items: stretch;
|
2019-01-03 23:30:27 +01:00
|
|
|
/* display: grid; */
|
|
|
|
/* grid-template-columns: auto 1fr auto auto auto; */
|
|
|
|
/* grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); */
|
2018-12-26 08:45:53 +01:00
|
|
|
}
|
|
|
|
|
2019-01-03 23:30:27 +01:00
|
|
|
.header-item {
|
2018-12-26 18:43:38 +01:00
|
|
|
margin-left: var(--gutter);
|
|
|
|
margin-right: var(--gutter);
|
2019-01-03 23:30:27 +01:00
|
|
|
margin-bottom: 1em;
|
|
|
|
margin: var(--gutter);
|
2018-12-26 08:45:53 +01:00
|
|
|
display: flex;
|
|
|
|
flex-wrap: nowrap;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
|
2019-01-03 23:30:27 +01:00
|
|
|
.is-alignment-left .header-area {
|
|
|
|
justify-content: flex-start;
|
|
|
|
}
|
|
|
|
|
|
|
|
.is-alignment-center .header-area {
|
|
|
|
justify-content: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.is-alignment-right .header-area {
|
|
|
|
justify-content: flex-end;
|
|
|
|
}
|
|
|
|
|
2019-01-05 22:09:58 +01:00
|
|
|
.is-layout-thin.is-search-grow .header-search,
|
2019-01-03 23:30:27 +01:00
|
|
|
.is-search-grow .header-search {
|
2018-12-26 08:45:53 +01:00
|
|
|
flex-grow: 1;
|
2019-01-05 21:57:21 +01:00
|
|
|
flex-basis: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (min-width: 550px) {
|
|
|
|
.is-search-grow .header-search {
|
|
|
|
flex-basis: initial;
|
|
|
|
}
|
2018-12-26 08:45:53 +01:00
|
|
|
}
|
2019-01-03 23:30:27 +01:00
|
|
|
|
|
|
|
.header-search {
|
2019-01-05 21:57:21 +01:00
|
|
|
width: 15vw;
|
|
|
|
min-width: 15em;
|
2019-01-03 23:30:27 +01:00
|
|
|
}
|
|
|
|
|
2019-01-05 21:57:21 +01:00
|
|
|
.header-date,
|
2019-01-03 23:30:27 +01:00
|
|
|
.header-clock,
|
|
|
|
.header-search,
|
|
|
|
.header-edit-add,
|
|
|
|
.header-accent {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.is-search .header-search,
|
2019-01-05 21:57:21 +01:00
|
|
|
.is-date .header-date,
|
2019-01-03 23:30:27 +01:00
|
|
|
.is-clock .header-clock,
|
|
|
|
.is-search-edit-add .header-edit-add,
|
|
|
|
.is-search-accent .header-accent {
|
|
|
|
display: flex;
|
|
|
|
}
|