2023-08-26 15:41:11 +12:00
|
|
|
/* This file contains SCSS used for creating the general structure of pages. Selectors should be things like body, h1,
|
|
|
|
nav, etc which are used site-wide */
|
|
|
|
@import "scss/colours";
|
|
|
|
@import "scss/mixins";
|
|
|
|
@import "scss/typography";
|
|
|
|
@import "scss/controls";
|
|
|
|
|
|
|
|
.container {
|
|
|
|
width: 100%;
|
|
|
|
padding-right: 0.75rem;
|
|
|
|
padding-left: 0.75rem;
|
|
|
|
margin-right: auto;
|
|
|
|
margin-left: auto;
|
|
|
|
max-width: inherit;
|
|
|
|
@include breakpoint(phablet) {
|
|
|
|
|
|
|
|
}
|
|
|
|
@include breakpoint(tablet) {
|
|
|
|
max-width: 960px;
|
|
|
|
}
|
|
|
|
@include breakpoint(laptop) {
|
|
|
|
max-width: 1200px;
|
|
|
|
}
|
|
|
|
@include breakpoint(desktop) {
|
|
|
|
max-width: 1550px;
|
|
|
|
}
|
|
|
|
@include breakpoint(bigbig) {
|
|
|
|
max-width: 1880px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.skip-link {
|
|
|
|
position: absolute;
|
|
|
|
top: -40px; /* Adjust as needed to hide the link off-screen */
|
|
|
|
left: 0;
|
|
|
|
background-color: #fff; /* Background color to cover the link for screen readers */
|
|
|
|
z-index: 999; /* Ensure it's above other content */
|
|
|
|
}
|
|
|
|
|
|
|
|
.skip-link:focus {
|
|
|
|
top: 0; /* Bring the link back into view when it receives focus */
|
|
|
|
}
|
|
|
|
|
|
|
|
.form-group {
|
|
|
|
margin-bottom: 1.1rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.card {
|
|
|
|
max-width: 350px;
|
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
|
|
|
}
|
2023-08-29 22:01:06 +12:00
|
|
|
|
2023-10-03 22:29:13 +13:00
|
|
|
#breadcrumb_nav {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
@include breakpoint(tablet) {
|
|
|
|
#breadcrumb_nav {
|
|
|
|
display: block;
|
|
|
|
font-size: 87%;
|
|
|
|
|
|
|
|
.breadcrumb {
|
|
|
|
padding: 0;
|
|
|
|
margin-bottom: 0;
|
|
|
|
background-color: inherit;
|
|
|
|
|
|
|
|
.breadcrumb-item + .breadcrumb-item::before {
|
|
|
|
content: ">";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-08-29 22:01:06 +12:00
|
|
|
.community_header {
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-position: center center;
|
|
|
|
background-size: cover;
|
|
|
|
border-radius: 5px;
|
2023-10-03 22:29:13 +13:00
|
|
|
|
|
|
|
@include breakpoint(tablet) {
|
|
|
|
#breadcrumb_nav {
|
|
|
|
padding-left: 20px;
|
|
|
|
padding-top: 13px;
|
|
|
|
|
|
|
|
.breadcrumb {
|
|
|
|
padding: 0;
|
|
|
|
margin-bottom: 0;
|
|
|
|
background-color: inherit;
|
|
|
|
|
|
|
|
.breadcrumb-item {
|
|
|
|
color: white;
|
|
|
|
a {
|
|
|
|
color: white;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.breadcrumb-item + .breadcrumb-item::before {
|
|
|
|
content: ">";
|
|
|
|
color: white;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2023-08-29 22:01:06 +12:00
|
|
|
}
|
|
|
|
|
|
|
|
.community_header_no_background, .community_header {
|
|
|
|
.community_icon {
|
|
|
|
width: 120px;
|
|
|
|
height: auto;
|
|
|
|
}
|
|
|
|
}
|
2023-10-02 22:16:44 +13:00
|
|
|
|
2023-10-10 22:25:37 +13:00
|
|
|
.post_reply_form {
|
|
|
|
label {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
2023-10-02 22:16:44 +13:00
|
|
|
.post_list {
|
|
|
|
.post_teaser {
|
|
|
|
|
|
|
|
h3 {
|
|
|
|
font-size: 120%;
|
|
|
|
margin-top: 8px;
|
2023-10-07 21:32:19 +13:00
|
|
|
}
|
2023-10-02 22:16:44 +13:00
|
|
|
|
2023-10-07 21:32:19 +13:00
|
|
|
.meta_row, .main_row, .utilities_row {
|
2023-10-02 22:16:44 +13:00
|
|
|
a {
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
border-bottom: solid 2px $light-grey;
|
|
|
|
padding-top: 8px;
|
|
|
|
padding-bottom: 8px;
|
|
|
|
}
|
2023-10-10 22:25:37 +13:00
|
|
|
}
|
|
|
|
|
|
|
|
.comment {
|
|
|
|
clear: both;
|
|
|
|
margin-bottom: 20px;
|
|
|
|
|
2023-10-15 19:36:14 +13:00
|
|
|
.comment_body {
|
|
|
|
overflow: hidden;
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
&.expanded {
|
|
|
|
max-height: none;
|
|
|
|
|
|
|
|
.show-more {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.show-more {
|
|
|
|
text-decoration: none;
|
|
|
|
display: block;
|
|
|
|
text-align: center;
|
|
|
|
background-color: $dark-grey;
|
|
|
|
color: white;
|
|
|
|
margin-bottom: 15px;
|
|
|
|
}
|
|
|
|
|
2023-10-10 22:25:37 +13:00
|
|
|
.comment_author {
|
|
|
|
img {
|
|
|
|
width: 20px;
|
|
|
|
height: 20px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.hide_button {
|
|
|
|
float: right;
|
|
|
|
display: block;
|
2023-10-15 19:36:14 +13:00
|
|
|
width: 68px;
|
2023-10-10 22:25:37 +13:00
|
|
|
padding: 5px;
|
|
|
|
|
|
|
|
a {
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.voting_buttons {
|
|
|
|
float: right;
|
|
|
|
display: block;
|
|
|
|
width: 60px;
|
|
|
|
padding: 5px;
|
|
|
|
|
|
|
|
div {
|
|
|
|
border: solid 1px $primary-colour;
|
|
|
|
}
|
|
|
|
|
|
|
|
.upvote_button, .downvote_button {
|
|
|
|
padding-left: 3px;
|
|
|
|
border-radius: 3px;
|
2023-10-14 21:53:47 +13:00
|
|
|
cursor: pointer;
|
2023-10-10 22:25:37 +13:00
|
|
|
|
|
|
|
&.digits_4 {
|
|
|
|
width: 68px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.digits_5 {
|
|
|
|
width: 76px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.digits_6 {
|
|
|
|
width: 84px;
|
|
|
|
}
|
2023-10-14 21:53:47 +13:00
|
|
|
|
|
|
|
&.voted_up {
|
|
|
|
color: green;
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
&.voted_down {
|
|
|
|
color: darkred;
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
2023-10-10 22:25:37 +13:00
|
|
|
}
|
|
|
|
|
|
|
|
.downvote_button {
|
|
|
|
margin-top: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
}
|
2023-10-15 19:36:14 +13:00
|
|
|
|
|
|
|
.comment_actions {
|
|
|
|
margin-top: -10px;
|
|
|
|
a {
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
}
|
2023-10-02 22:16:44 +13:00
|
|
|
}
|