wikijs-fork/client/scss/layout/_content.scss

145 lines
1.9 KiB
SCSS
Raw Normal View History

2016-10-23 23:41:02 +00:00
#page-type-view > section {
transition: background-color .5s ease;
&.blurred {
2016-11-21 01:09:50 +00:00
background-color: mc('grey', '50');
}
}
.sd-menus {
width: 300px;
}
.menu {
.menu-list a, .menu-nav a {
display: flex;
align-items: center;
}
.menu-list .icon {
margin-right: 8px
}
}
2016-08-28 01:46:10 +00:00
.section.is-small {
padding: 20px 20px;
}
.mkcontent {
h1 {
2016-11-21 01:09:50 +00:00
border-bottom: 1px dotted mc('blue', '500');
padding-bottom: 4px;
font-weight: 400;
2016-11-21 01:09:50 +00:00
color: desaturate(mc('blue', '500'), 20%);
}
h2 {
2016-11-21 01:09:50 +00:00
border-bottom: 1px dotted mc('grey', '100');
padding-bottom: 4px;
font-weight: 400;
2016-11-21 01:09:50 +00:00
color: desaturate(mc('purple', '500'), 20%);
}
a.toc-anchor {
font-size: 80%;
2016-11-21 01:09:50 +00:00
color: mc('blue', '500');
border-bottom: none;
&:visited {
2016-11-21 01:09:50 +00:00
color: mc('purple', '500') !important;
}
}
2016-08-28 01:46:10 +00:00
a.external-link {
position: relative;
padding-left: 20px;
&:before {
content: "\f08e";
font-family: FontAwesome;
font-style: normal;
font-weight: normal;
text-decoration: inherit;
2016-11-21 01:09:50 +00:00
color: mc('grey', '500');
2016-08-28 01:46:10 +00:00
font-size: 14px;
position: absolute;
top: 0;
left: 0;
}
}
pre {
padding: 0;
2016-11-21 01:09:50 +00:00
font-family: $core-font-monospace;
> code {
2016-11-21 01:09:50 +00:00
box-shadow: inset 0 0 5px 0 mc('grey', '100');
2016-08-28 01:46:10 +00:00
border-radius: 5px;
}
}
pre + p {
padding-top: 1em;
}
img.right {
float:right;
}
img.pagelogo {
float: right;
2016-11-02 03:02:11 +00:00
margin-top: -75px;
max-width: 200px;
background-color: #FFF;
}
strong {
2016-11-21 01:09:50 +00:00
color: mc('grey', '700');
}
2016-08-28 01:46:10 +00:00
.twa {
font-size: 120%;
}
table thead th {
2016-11-21 01:09:50 +00:00
background-color: mc('blue', '500');
color: #FFF;
border-color: #FFF;
2016-11-21 01:09:50 +00:00
border-bottom-color: mc('blue', '500');
border-top-color: mc('blue', '500');
&:first-child {
2016-11-21 01:09:50 +00:00
border-left-color: mc('blue', '500');
}
&:last-child {
2016-11-21 01:09:50 +00:00
border-right-color: mc('blue', '500');
}
}
}
.content a:not(.button):visited {
2016-11-21 01:09:50 +00:00
color: mc('teal', '500');
font-weight: 500;
}
code {
font-weight: 500;
2016-11-21 01:09:50 +00:00
color: mc('purple', '500');
}
p code {
padding: 2px 5px;
border-radius: 4px;
}