cycat-project-website/_sass/components/_content.scss

94 lines
1.5 KiB
SCSS
Raw Normal View History

2018-12-09 08:21:01 +01:00
.content {
a {
text-decoration: underline;
}
2020-08-23 12:01:06 +02:00
img {
max-width: 100%;
height: auto;
margin-top: 20px;
margin-bottom: 20px;
}
strong {
font-width: bold;
}
em {
font-style: italic;
}
2018-12-09 08:21:01 +01:00
p {
font-family: $font-family-base;
2020-08-23 12:01:06 +02:00
line-height: 1.56;
color: $steel;
2018-12-09 08:21:01 +01:00
}
h1 {
2020-08-23 12:01:06 +02:00
font-family: $font-family-base;
font-size: 34px;
line-height: 1.26;
font-weight: normal;
margin-top: 30px;
margin-bottom: 20px;
2018-12-09 08:21:01 +01:00
}
h2 {
2020-08-23 12:01:06 +02:00
font-family: $font-family-base;
font-size: 26px;
font-weight: normal;
2018-12-09 08:21:01 +01:00
line-height: 1.4;
2020-08-23 12:01:06 +02:00
margin-top: 30px;
2018-12-09 08:21:01 +01:00
}
h3 {
2020-08-23 12:01:06 +02:00
font-family: $font-family-base;
font-size: 20px;
2018-12-09 08:21:01 +01:00
line-height: 1.4;
2020-08-23 12:01:06 +02:00
font-weight: normal;
margin-top: 30px;
}
ul,
ol {
margin-bottom: 20px;
ul,
ol {
margin-bottom: 0;
}
}
ul {
list-style: disc;
}
ol {
list-style: decimal;
}
li {
margin-bottom: 5px;
line-height: 1.56;
margin-left: 20px;
color: $steel;
}
hr {
border: none;
border-bottom: 1px solid $white-offset;
}
table {
width: 100%;
margin-top: 30px;
margin-bottom: 30px;
th,
td {
padding: 5px;
vertical-align: top;
border-top: 1px solid $white-offset;
2018-12-09 08:21:01 +01:00
}
2020-08-23 12:01:06 +02:00
thead th {
vertical-align: bottom;
border-bottom: 1px solid $white-offset;
text-align: left;
font-weight: bold;
}
tbody + tbody {
border-top: 1px solid $white-offset;
}
}
blockquote {
padding: 0 1em;
color: $steel;
border-left: .25em solid $secondary;
2018-12-09 08:21:01 +01:00
}
}