snort/src/Element/Text.css

72 lines
917 B
CSS
Raw Normal View History

2023-01-26 06:13:09 +00:00
.text {
font-size: var(--font-size);
line-height: 24px;
}
2023-01-14 14:37:31 +00:00
.text a {
color: var(--highlight);
2023-01-20 15:57:45 +00:00
text-decoration: none;
}
.text a:hover {
text-decoration: underline;
2023-01-14 14:37:31 +00:00
}
.text h1 {
margin: 0;
}
.text h2 {
margin: 0;
}
.text h3 {
margin: 0;
}
.text h4 {
margin: 0;
}
.text h5 {
margin: 0;
}
.text h6 {
margin: 0;
}
.text p {
margin: 0;
2023-01-19 11:14:41 +00:00
margin-bottom: 4px;
2023-01-14 14:37:31 +00:00
}
2023-01-20 15:57:45 +00:00
.text p:last-child {
margin-bottom: 0;
}
2023-01-14 14:37:31 +00:00
.text pre {
margin: 0;
}
2023-01-16 15:17:08 +00:00
.text li {
margin-top: -1em;
}
.text li:last-child {
margin-bottom: -2em;
}
2023-01-14 14:37:31 +00:00
.text hr {
border: 0;
height: 1px;
background-image: var(--gray-gradient);
margin: 20px;
}
.text img, .text video, .text iframe {
max-width: 100%;
max-height: 500px;
margin: 10px auto;
display: block;
2023-01-18 23:31:34 +00:00
border-radius: 12px;
2023-01-14 14:37:31 +00:00
}
.text iframe, .text video {
width: -webkit-fill-available;
aspect-ratio: 16 / 9;
}