ensl.org/app/assets/stylesheets/themes/default/layout/_body.scss
Ari Timonen ce5dfcfa6a Finish recreate, Fix file browsing
Add it to adminpanel
2020-04-01 05:00:53 +03:00

138 lines
1.9 KiB
SCSS

/*
Main Containers
*/
$container-padding: 2em;
html {
background: {
color: $blue;
image: image-url("#{$theme-path}/layout/background.jpg");
position: top center;
repeat: no-repeat;
}
}
html,
body {
margin: 0;
padding: 0;
width: 100%;
min-height: 100%;
}
body#tinymce {
padding: 10px;
}
#container {
min-height: 100%;
min-width: 1020px;
background: {
color: $blue;
image: image-url("#{$theme-path}/layout/background.jpg");
position: top center;
repeat: no-repeat;
}
}
.wrapper {
@include outer-container;
&.body {
z-index: 10;
}
}
#content {
@include span-columns(12);
box-shadow: $content-shadow;
margin-top: -35px;
padding: 10px $container-padding $container-padding $container-padding;
background: image-url("#{$theme-path}/layout/body-background.png") top center repeat-y;
&.full {
padding-top: 40px;
background-image: image-url("#{$theme-path}/layout/body-background-full.png");
}
&.no-body {
#main {
padding: 0;
}
}
}
#forums {
@include span-columns(12);
}
#main {
@include span-columns(9 of 12);
padding: 20px 25px 20px 0px;
}
#sidebar {
@include span-columns(3 of 12);
@include omega();
}
/*
Heading styles
*/
h1, h2, h3, h4, h5, h6 {
&.title {
margin-bottom: 1em;
}
&.fancy {
clear: both;
text-align: center;
position: relative;
&:before {
content: "";
display: block;
width: 100%;
height: 2px;
position: absolute;
top: 50%;
z-index: 1;
}
span {
background: inherit;
padding: 0 .5em;
position: relative;
display: inline-block;
z-index: 1;
}
}
}
/*
Text
*/
#main {
ul.disc,
ol {
list-style-type: disc;
margin: 20px 0;
li {
margin-left: 40px;
display: list-item;
}
}
ol {
list-style-type: decimal;
}
pre {
font-size: $base-font-size * 0.5;
}
}