otwarchive-symphonyarchive/public/stylesheets/site/2.0/21-userstuff.css
2026-03-11 22:22:11 +00:00

207 lines
3.1 KiB
CSS

/* == USERSTUFF: displaying content inputted by a user into a textarea. */
.userstuff {
word-wrap: break-word;
line-height: 1.5;
}
.userstuff p, .userstuff details {
margin: 1.286em auto;
padding: 0;
}
/* lists */
.userstuff dl {
margin: 1.5em 0;
border: 0;
}
.userstuff dl dl {
width: 90%;
margin: auto;
}
.userstuff dt {
display: block;
font-weight: bold;
}
.userstuff dd {
display: block;
margin-block-start: 1.25em;
margin-block-end: 1.25em;
margin-inline-start: 3em;
}
.userstuff dd p {
margin: 0;
padding: 0;
}
.userstuff ul {
margin: 1.125em auto;
padding: 0 1em;
}
.userstuff ul li {
display: list-item;
}
.userstuff li, .userstuff ol ul li {
font-weight: normal;
display: list-item;
list-style-type: disc;
margin-block-start: 0.75em;
margin-inline-end: 0;
margin-block-end: 0.75em;
margin-inline-start: 1.75em;
}
.userstuff ol {
margin: 0.75em auto;
padding: 0 1.5em;
}
.userstuff ol li {
list-style-type: decimal;
margin-block-start: 0.75em;
margin-inline-end: 0;
margin-block-end: 0.75em;
margin-inline-start: 1.75em;
}
.userstuff ol li ol li {
list-style-type: lower-alpha;
}
.userstuff ol li ol li ol li {
list-style-type: lower-roman;
}
/* headings */
.userstuff h1 {
text-align: center;
}
.userstuff h2 {
color: #333;
margin: 1.5em 0;
display: block;
}
.userstuff h3 {
font-weight: 500;
padding: 0.125em;
border-bottom: 0.25em double #333;
}
.userstuff h4 {
font-weight: 700;
}
.userstuff h5 {
font-weight: 600;
font-size: 1em;
}
.userstuff h6 {
font-size: 0.975em;
border-bottom: 1px solid;
}
.userstuff h3 a, .userstuff h3 a:link, .userstuff h3 a:visited {
font-weight: 500;
border-bottom: 0;
text-decoration: none;
}
/* tables */
.userstuff caption {
font-size: 1em;
height: auto;
width: auto;
opacity: 1;
}
.userstuff table, .userstuff td, .userstuff col, .userstuff tr, .userstuff thead, .userstuff tfoot, .userstuff tbody, .userstuff th, .userstuff thead td, .userstuff th a, .userstuff th a:link {
background: transparent;
border: none;
}
/* quotes and stresses */
.userstuff blockquote {
line-height: 1.5;
margin-inline-start: 1.5em;
padding: 0.75em;
border-inline-start: 2px solid #999;
}
.userstuff blockquote blockquote {
padding: 0.25em;
border: 0;
}
.userstuff hr {
width: 33%;
margin: 0.875em auto 1.2525em auto;
border: 1px solid;
}
/* media */
.userstuff img {
max-width: 100%;
height: auto;
}
.userstuff video {
max-width: 100%;
}
/* expected behaviours, exceptioning */
/* WORK MARGINS */
#workskin {
font-size: 1.08em;
margin: auto;
padding: 0 0.25em;
max-width: 72em;
overflow-x: auto;
overflow-y: hidden;
position: relative;
}
#workskin .module {
float: none;
}
/* contexts */
.comment .userstuff li {
list-style-position: inside;
}
.bookmark .user .userstuff {
line-height: 1.5;
}
.bookmark .user .userstuff blockquote {
margin-bottom: 1.286em;
}
.faq .userstuff dd {
margin-block-start: 0.75em;
margin-block-end: 0.75em;
margin-inline-start: 1.75em;
}
.faq .userstuff dl {
margin: 0.75em 0;
}
/* END == */