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

137 lines
1.6 KiB
SCSS
Raw Normal View History

.sd-menus {
width: 300px;
}
2016-08-28 01:46:10 +00:00
.section.is-small {
padding: 20px 20px;
}
.mkcontent {
h1 {
border-bottom: 1px dotted $grey-light;
padding-bottom: 4px;
font-weight: 400;
color: desaturate(darken($purple, 15%), 10%);
}
a.toc-anchor {
font-size: 80%;
color: $purple;
border-bottom: none;
&:visited {
color: $purple !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;
color: $grey;
font-size: 14px;
position: absolute;
top: 0;
left: 0;
}
}
pre {
padding: 0;
> code {
box-shadow: inset 0 0 5px 0 $grey-light;
2016-08-28 01:46:10 +00:00
border-radius: 5px;
}
}
pre + p {
padding-top: 1em;
}
img.right {
float:right;
}
img.pagelogo {
float: right;
margin-top: -50px;
max-width: 200px;
}
strong {
color: $grey-dark;
}
2016-08-28 01:46:10 +00:00
.twa {
font-size: 120%;
}
}
.content a:not(.button):visited {
color: $turquoise;
font-weight: 500;
}
code {
font-weight: 500;
color: $purple;
}
p code {
padding: 2px 5px;
border-radius: 4px;
}
2016-08-24 01:09:09 +00:00
.modal {
align-items: flex-start;
}
.modal-background {
animation: 0.4s ease fadeIn;
}
.modal-content {
animation: 0.4s ease slideInDown;
}
.card-header {
background-color: $turquoise;
2016-08-28 15:27:05 +00:00
&.is-warning {
background-color: $orange;
}
&.is-danger {
background-color: $red;
}
}
.card-header-title {
color: #FFF;
font-weight: 400;
font-size: 16px;
padding: 10px 20px;
2016-08-24 01:09:09 +00:00
}
.modal-content .card-footer-item {
font-weight: 500;
2016-08-28 15:27:05 +00:00
}
.modal-content .card-footer-item.featured {
animation: flash 4s ease 0 infinite;
}