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

104 lines
1.6 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-31 17:53:59 +01:00
z-index: 999;
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;
}
}
2018-01-20 03:05:15 +01:00
.tab_active { background-color: $COL_HIGHLIGHT_RED; }
2018-01-03 01:03:43 +01:00
2017-12-29 00:40:57 +01:00
.tab_split {
flex: auto;
}
.tab_github {
2018-01-20 03:05:15 +01:00
background-color: $COL_GITHUB;
2017-12-29 00:40:57 +01:00
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;
}
}
}
}
2018-01-20 14:41:21 +01:00
@include rdmedia_range(0,1) {
2017-12-29 00:40:57 +01:00
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
}
}