Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/vjeantet/hugo-theme-docport.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvjeantet <valere.jeantet@gmail.com>2020-09-01 23:55:55 +0300
committervjeantet <valere.jeantet@gmail.com>2020-09-01 23:55:55 +0300
commit8446cabd7795977f00bb97fd34e9eec310d5c8ea (patch)
treed38c69225901147be82304a172f06cce148afb86 /assets/sass/layout.scss
parentd598847437462e482aeb77ae8af4e93ee15dc9cb (diff)
refactor hide_nav, header, breadcrumb...
Diffstat (limited to 'assets/sass/layout.scss')
-rw-r--r--assets/sass/layout.scss33
1 files changed, 4 insertions, 29 deletions
diff --git a/assets/sass/layout.scss b/assets/sass/layout.scss
index 623cd5d..41eed12 100644
--- a/assets/sass/layout.scss
+++ b/assets/sass/layout.scss
@@ -6,7 +6,7 @@ a, abbr, acronym, address, applet, article, aside, audio, b, big, blockquote, bo
vertical-align: baseline;
}
-body {
+body:not(.render_raw) {
margin: 0px 0px ;
display: -webkit-box;
display: flex;
@@ -150,33 +150,8 @@ body {
}
/* hideheader hidenav hidebreadcrumb hidetoc hidefooter */
-body {
- &.hidenav{
- article{
- aside{
- display:none!important;
- }
- }
- }
- &.hidebreadcrumb{
- article section.page nav#breadcrumb{
- display: none!important;
- }
- }
- &.hidetoc{
- article section.right-menu {
- display: none!important;
- }
- }
- &.hidefooter{
- footer{
- display: none!important;
- }
- }
+body:not(.render_raw) {
&.hideheader{
- header {
- display:none!important;
- }
article{
padding-top: 0px ;
aside{
@@ -192,7 +167,7 @@ body {
}
@media(max-width:1160px) {
- body{
+ body:not(.render_raw){
header{
div.burger{
display: none;
@@ -219,7 +194,7 @@ body {
}
@media(max-width:769px) {
- body{
+ body:not(.render_raw){
header{
div.burger{
display: block;