4chan-x/src/General/css/dynamic.css
Zixaphir 68e18cba7d Fix #305
Thanks Anonymous <3
2013-08-17 23:37:21 -07:00

63 lines
1.7 KiB
CSS

#boardNavDesktopFoot a,
#header-bar a,
#header-bar .shortcut > span,
.deleteform::before,
.field,
.hide-navigation-decorations .pages a,
.notification,
.selectrice,
body,
button,
input,
textarea {
font-size: #{parseInt Conf["Font Size"], 10}px;
}
#boardTitle,
.boardTitle a {
font-size: #{parseInt(Conf["Font Size"], 10) + 10}px;
}
.boardSubtitle,
.boardSubtitle a {
font-size: #{parseInt(Conf["Font Size"], 10) - 1}px;
}
body,
button,
input,
textarea {
font-family: #{Conf["Font"]};
}
body {
padding: 0 #{parseInt(Conf["Right Thread Padding"], 10) + editSpace["right"]}px 0 #{parseInt(Conf["Left Thread Padding"], 10) + editSpace["left"]}px;
}
.board > .thread {
margin: #{parseInt Conf["Top Thread Padding"], 10}px 0 #{parseInt Conf["Bottom Thread Padding"], 10}px 0;
}
.post,
.summary {
margin-bottom: #{Conf["Post Spacing"]}px;
}
.thread > .threadContainer:last-of-type {
margin-bottom: -#{Conf["Post Spacing"]}px;
}
.thread > .replyContainer > .reply.post {
border-width: #{if Conf['Post Spacing'] is "0" then "1px 1px 0 1px" else '1px'};
}
#post-preview,
.postMessage {
margin: #{Conf['Vertical Post Padding']}px #{Conf['Horizontal Post Padding']}px;
}
:root:not(fourchan-ss-navigation):not(.pagination-on-side) .pagelist,
:root:not(fourchan-ss-navigation) #header-bar {
margin-left: #{parseInt(Conf["Left Thread Padding"], 10) + editSpace["right"]}px;
margin-right: #{parseInt(Conf["Right Thread Padding"], 10) + editSpace["left"]}px;
}
/* Emoji */
a.useremail:last-of-type::before {
margin-right: #{parseInt Conf['Emoji Spacing']}px;
}
a.useremail:last-of-type::after {
margin-left: #{parseInt Conf['Emoji Spacing']}px;
}
#mascot {
opacity: #{Conf['Mascot Opacity']};
}