wikijs-fork/client/themes/default/scss/app.scss

49 lines
888 B
SCSS
Raw Normal View History

/* THEME SPECIFIC STYLES */
.contents {
color: mc('grey', '800');
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('theme', 'primary'), rgba(mc('theme', 'primary'), 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;
text-align: justify;
}
}