1
0
www.mikescher.com/www/data/css/styles_header.scss

101 lines
1.5 KiB
SCSS
Raw Normal View History

2017-12-29 00:40:57 +01:00
@import 'styles_config';
2017-12-29 01:14:15 +01:00
#headerdiv {
2017-12-29 00:40:57 +01:00
background-color: #333;
display: flex;
border-bottom: 1px solid #111;
box-shadow: 0 0 8px #000000;
position: fixed;
width: 100%;
.logowrapper {
flex: initial;
margin: 0;
padding: 0;
height: 42px;
.logo {
height: 30px;
2017-12-29 01:14:15 +01:00
margin: 4px 0 8px 6px;
2017-12-29 00:40:57 +01:00
flex: initial;
}
}
.tabrow {
display: flex;
flex: auto;
.tab {
display: flex;
justify-content: center;
align-items: center;
background-color: #222;
color: $COL_TEXT_NORMAL;
border-left: 1px solid #000;
border-right: 1px solid #000;
font-weight: bold;
text-decoration: none;
margin: 0px 0px 0px 20px;
padding: 2px 5px;
min-width: 64px;
text-align: center;
flex: initial;
&:hover {
cursor: pointer;
background-color: #555;
}
}
.tab_split {
flex: auto;
}
.tab_github {
background-color: #4078c0;
border-left: 1px solid #111;
2017-12-31 02:05:50 +01:00
border-right: none;
2017-12-29 00:40:57 +01:00
color: black;
&:hover {
background-color: #c9510c;
color: black;
}
}
}
}
@media (max-width: 850px) {
2017-12-29 01:14:15 +01:00
#headerdiv {
2017-12-29 00:40:57 +01:00
position: static;
flex-direction: column;
2017-12-29 01:14:15 +01:00
.logowrapper {
display: flex;
align-items: center;
justify-content: center;
}
.tabrow {
flex-direction: column;
2017-12-29 00:40:57 +01:00
2017-12-29 01:14:15 +01:00
.tab {
border: 1px solid #000;
font-weight: bold;
2017-12-29 00:40:57 +01:00
2017-12-29 01:14:15 +01:00
margin: 5px 10px;
}
}
2017-12-29 00:40:57 +01:00
}
#content {
2017-12-29 01:14:15 +01:00
padding-top: 0;
2017-12-29 00:40:57 +01:00
}
}