wikijs-fork/client/themes/default/scss/app.scss
2018-08-09 00:07:15 -04:00

46 lines
824 B
SCSS

/* THEME SPECIFIC STYLES */
.contents {
h1 {
padding-left: 16px;
color: mc('blue', '800');
margin-top: 16px;
position: relative;
&::after {
content: '';
position: absolute;
bottom: 0;
left: 0;
width: 100%;
height: 2px;
background: linear-gradient(to right, mc('blue', '500'), rgba(mc('blue', '500'), 0));
}
& + h2 {
margin-top: 8px;
}
}
h2 {
margin-left: 16px;
padding: 8px 0 0 0;
color: mc('grey', '800');
position: relative;
&::after {
content: '';
position: absolute;
bottom: 0;
left: 0;
width: 100%;
height: 1px;
background: linear-gradient(to right, mc('grey', '700'), rgba(mc('grey', '700'), 0));
}
}
p {
padding: 16px 16px 0 16px;
margin: 0;
}
}