diff options
author | luxagraf <sng@luxagraf.net> | 2019-01-13 11:42:01 -0600 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2019-01-13 11:42:01 -0600 |
commit | 5b9343d77d8321e44d1ffc60769c651771dc38dd (patch) | |
tree | 8bbce1b415fbf2fd4c4ee1a7913ca41d362216ec /design/sass/_forum.scss | |
parent | 261f9df4911f861a71e11eb3f0bfbe1a5a5d12b9 (diff) |
Refactored Javascript, started on forums
Diffstat (limited to 'design/sass/_forum.scss')
-rw-r--r-- | design/sass/_forum.scss | 70 |
1 files changed, 70 insertions, 0 deletions
diff --git a/design/sass/_forum.scss b/design/sass/_forum.scss new file mode 100644 index 0000000..cedae2d --- /dev/null +++ b/design/sass/_forum.scss @@ -0,0 +1,70 @@ +.topic-list { + table-layout: fixed; + border-collapse: collapse; + th:first-of-type, td:first-of-type { + padding-left: 10px; + } + tr { + border-bottom: 1px solid #e9e9e9; + &:hover { + background-color: darken(#fff, 1.5); + } + } + td { + width: 100%; + border: none; + } + a { + color: $body_font_color; + text-decoration: none; + } + .title { + @include fontsize(20); + @include fancy_sans; + color: #2a2a2a; + } + .category { + @include fontsize(12); + @include fancy_sans_bold; + text-transform: uppercase; + letter-spacing: 1px; + } + .num { + text-align: center; + } + .topic-users { width: 80px;} + .topic-posts, .topic-views { width: 20px; } + .topic-age { width: 40px;} +} +.topic-container { + max-width: 70%; + position: relative; + flex:1; + order: 2; + background: #fff; + z-index: 4; + margin: 3rem auto 0; + h1 { + @include fancy_sans_bold; + @include fontsize(28); + color: #2a2a2a; + line-height: 1; + margin: 0; + } + h2 { + @include fontsize(14); + margin: 0 0 1rem 0; + a { + color: $body_font_color; + text-decoration: none; + } + } + .topic-header { + border-bottom: 1px solid lighten($body_font_light, 20); + margin: 0 0 2rem 0; + } +} +#post-list { + list-style-type: none; + padding: 0; +} |