generated from 2martens/django-template
Initial commit
This commit is contained in:
59
static/sass/main.scss
Normal file
59
static/sass/main.scss
Normal file
@ -0,0 +1,59 @@
|
||||
@charset "UTF-8";
|
||||
|
||||
@import "bootstrap-custom";
|
||||
@import "fa-svg-with-js";
|
||||
|
||||
.site-header > .navbar {
|
||||
//border-top: 5px solid $dark;
|
||||
border-bottom: 2px solid $light;
|
||||
}
|
||||
|
||||
// nav tabs
|
||||
.nav-tabs {
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
.euro {
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
// back-to-top button
|
||||
#back-to-top {
|
||||
cursor: pointer;
|
||||
position: -webkit-sticky;
|
||||
position: sticky;
|
||||
bottom: 40px;
|
||||
display:none;
|
||||
}
|
||||
|
||||
|
||||
$navbarHeight: 58px;
|
||||
|
||||
#main {
|
||||
margin-top: $navbarHeight + 15px;
|
||||
margin-bottom: $navbarHeight + 15px;
|
||||
}
|
||||
|
||||
#main.submenu {
|
||||
margin-top: 2*$navbarHeight + 15px;
|
||||
}
|
||||
|
||||
#countdown:before {
|
||||
display: inline;
|
||||
}
|
||||
|
||||
.site-header > .navbar {
|
||||
background-color: $body-bg;
|
||||
}
|
||||
|
||||
.site-footer {
|
||||
border-top: 2px solid $light;
|
||||
background-color: $body-bg;
|
||||
}
|
||||
|
||||
.anchor {
|
||||
position: relative;
|
||||
display: block;
|
||||
top: -$navbarHeight;
|
||||
visibility: hidden;
|
||||
}
|
||||
Reference in New Issue
Block a user