458 lines
10 KiB
SCSS
458 lines
10 KiB
SCSS
.post-content > div {
|
|
width: 100%;
|
|
}
|
|
|
|
.intro-image {
|
|
border-radius: 6px;
|
|
display: block;
|
|
margin-left: auto;
|
|
}
|
|
|
|
@media screen and (min-width: 0px) and (max-width: 720px) {
|
|
.mobile-hide{ display: none; }
|
|
}
|
|
|
|
/* Fade in effect from https://weekendprojects.dev/posts/how-to-create-css-animation-fade-in-with-examples/ */
|
|
@keyframes fadeinanim {
|
|
0% {
|
|
opacity: 0;
|
|
transform: translate3d(0, -50px, 0);
|
|
}
|
|
100% {
|
|
opacity: 1;
|
|
transform: translate3d(0, 0px, 0);
|
|
}
|
|
}
|
|
|
|
.fadein {
|
|
animation: fadeinanim 1.5s 1;
|
|
}
|
|
|
|
/* FONTS */
|
|
|
|
@font-face {
|
|
font-family: "Mustica Pro";
|
|
src: url("fonts/MusticaPro-SemiBold.otf") format("opentype");
|
|
font-weight: normal;
|
|
font-style: normal
|
|
}
|
|
|
|
@font-face {
|
|
font-family: "Roboto";
|
|
src: url("fonts/Roboto-Regular.ttf") format("truetype");
|
|
font-weight: normal;
|
|
font-style: normal
|
|
}
|
|
|
|
/* BANNER */
|
|
#banner {
|
|
border-radius: 6px;
|
|
background-color: #661a16;
|
|
color: #bdbdbd;
|
|
padding: 20px;
|
|
width: auto;
|
|
height: auto;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
margin-left: 20px;
|
|
margin-right: 20px;
|
|
margin-bottom: 50px;
|
|
}
|
|
|
|
#banner-small { // The small banner for the Chromium warning.
|
|
border-radius: 6px;
|
|
background-color: #661a16;
|
|
color: white;
|
|
padding: 3px;
|
|
padding-left: 10px;
|
|
padding-right: 10px;
|
|
width: auto;
|
|
height: auto;
|
|
display: none; // Default value, blinky.js will change it.
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
margin-left: 20px;
|
|
margin-right: 20px;
|
|
margin-bottom: 50px;
|
|
font-family: Roboto;
|
|
animation: banner-small-appear .3s ease;
|
|
}
|
|
|
|
@keyframes banner-small-appear {
|
|
0% {
|
|
transform: scale(0);
|
|
}
|
|
100% {
|
|
transform: scale(1);
|
|
}
|
|
}
|
|
|
|
@keyframes banner-small-disappear {
|
|
0% {
|
|
transform: scale(1);
|
|
}
|
|
100% {
|
|
transform: scale(0);
|
|
}
|
|
}
|
|
|
|
#banner:hover img {
|
|
display: none;
|
|
}
|
|
|
|
#banner:hover span {
|
|
margin: auto;
|
|
}
|
|
|
|
#banner b {
|
|
color: white;
|
|
}
|
|
|
|
#banner h2 {
|
|
font-family: "Mustica Pro";
|
|
color: white;
|
|
margin: 0.5em 0 0.5em 0;
|
|
}
|
|
|
|
#banner blockquote, dl, ol, p, ul {
|
|
margin: 0.5em 0 0.5em 0;
|
|
}
|
|
|
|
/* BREADCRUMBS */
|
|
.breadcrumbs {
|
|
color:#e5e5e5;
|
|
font-size:1.4rem;
|
|
& a {
|
|
color: inherit;
|
|
}
|
|
}
|
|
.breadcrumbs-slash {
|
|
color:#bdbdbd
|
|
}
|
|
|
|
/* DOWNLOAD */
|
|
#download-banner {
|
|
border: 1px solid #bdbdbd;
|
|
border-radius: 6px;
|
|
background-color: #2a2a2a;
|
|
color: #bdbdbd;
|
|
padding: 20px;
|
|
width: auto;
|
|
height: auto;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: left;
|
|
justify-content: space-between;
|
|
margin-left: 20px;
|
|
margin-right: 20px;
|
|
margin-bottom: 50px;
|
|
& svg {
|
|
float:left
|
|
}
|
|
& h4 {
|
|
margin-top:0;
|
|
margin-left:1.5em;
|
|
}
|
|
}
|
|
|
|
#download-banner:hover {
|
|
background-color: #0171ff;
|
|
border: 1px solid #0171ff;
|
|
color: white;
|
|
}
|
|
|
|
#download-banner:active {
|
|
background-color: #014faf;
|
|
border: 1px solid #014faf;
|
|
color: white;
|
|
}
|
|
|
|
/* COMMENTS TITLE */
|
|
.comments-title {
|
|
font-family: "Mustica Pro";
|
|
font-weight: normal; // Probably unnecessary.
|
|
}
|
|
|
|
/* ISSO CSS */
|
|
|
|
#isso-thread {
|
|
padding: 0;
|
|
margin: 0;
|
|
* {
|
|
-webkit-box-sizing: border-box;
|
|
-moz-box-sizing: border-box;
|
|
box-sizing: border-box;
|
|
}
|
|
.isso-comment-header a {
|
|
text-decoration: none;
|
|
}
|
|
h4 {
|
|
color: #e5e5e5;
|
|
font-weight: bold;
|
|
}
|
|
> .isso-feedlink {
|
|
float: right;
|
|
padding-left: 1em;
|
|
> a {
|
|
font-size: 0.8em;
|
|
vertical-align: bottom;
|
|
}
|
|
}
|
|
.textarea {
|
|
min-height: 58px;
|
|
outline: 0;
|
|
&.placeholder {
|
|
color: #6a6a6a;
|
|
}
|
|
}
|
|
// .textarea:focus,
|
|
// input:focus {
|
|
// border-color: rgba(0, 0, 0, 0.8);
|
|
// }
|
|
}
|
|
.isso-comment{
|
|
#isso-root & {
|
|
max-width: 68em;
|
|
padding-top: 0.95em;
|
|
margin: 0.95em auto;
|
|
}
|
|
#isso-root .preview & {
|
|
padding-top: 0;
|
|
margin: 0;
|
|
}
|
|
#isso-root &:not(:first-of-type),
|
|
.isso-follow-up & {
|
|
border-top: 1px solid #525252;
|
|
}
|
|
> .avatar {
|
|
display: block;
|
|
float: left;
|
|
margin: 3px 15px 0 0;
|
|
> svg {
|
|
width: 48px;
|
|
height: 48px;
|
|
border: 1px solid rgba(0, 0, 0, 0.2);
|
|
border-radius: 4px;
|
|
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
|
|
}
|
|
}
|
|
> .text-wrapper {
|
|
display: block;
|
|
> .isso-comment-header,
|
|
> .isso-comment-footer {
|
|
font-size: 0.95em;
|
|
}
|
|
> .isso-comment-header {
|
|
font-size: 0.85em;
|
|
.spacer {
|
|
padding: 0 6px;
|
|
color: #1e1e1e;
|
|
}
|
|
//.spacer,
|
|
a.permalink,
|
|
.note,
|
|
a.parent {
|
|
color: gray !important;
|
|
font-weight: normal;
|
|
text-shadow: none !important;
|
|
&:hover{
|
|
color: #606060 !important;
|
|
}
|
|
}
|
|
.note {
|
|
float: right;
|
|
}
|
|
.author {
|
|
font-weight: bold;
|
|
color: #e5e5e5;
|
|
}
|
|
}
|
|
> .textarea-wrapper .textarea,
|
|
> .textarea-wrapper .preview {
|
|
margin-top: 0.2em;
|
|
width: 100%;
|
|
border: 1px solid #f0f0f0;
|
|
border-radius: 4px;
|
|
box-shadow: 0 0 2px #888;
|
|
}
|
|
> .text{
|
|
p {
|
|
margin-top: 0.2em;
|
|
&:last-child {
|
|
margin-bottom: 0.2em;
|
|
}
|
|
}
|
|
h1,h2,h3,h4,h5,h6{
|
|
font-size: 130%;
|
|
font-weight: bold;
|
|
}
|
|
}
|
|
> .isso-comment-footer {
|
|
font-size: 0.80em;
|
|
color: gray !important;
|
|
clear: left;
|
|
> a {
|
|
position: relative;
|
|
top: .2em;
|
|
+ a {
|
|
padding-left: 1em;
|
|
}
|
|
}
|
|
.votes {
|
|
color: gray;
|
|
position: relative;
|
|
top: 1px;
|
|
padding-right: 5px;
|
|
}
|
|
.upvote svg,
|
|
.downvote svg {
|
|
position: relative;
|
|
top: -.2em;
|
|
left: .1em;
|
|
}
|
|
.spacer {
|
|
color: #1e1e1e;
|
|
}
|
|
.reply {
|
|
top: -.1px;
|
|
}
|
|
}
|
|
}
|
|
.isso-follow-up {
|
|
padding-left: calc(7% + 20px);
|
|
}
|
|
.isso-postbox {
|
|
margin-top: 0.8em;
|
|
}
|
|
&.isso-no-votes > * > .isso-comment-footer span.votes {
|
|
display: none;
|
|
}
|
|
}
|
|
.isso-feedlink,
|
|
.isso-comment > div.text-wrapper > .isso-comment-footer a {
|
|
font-weight: bold;
|
|
text-decoration: none;
|
|
&:hover{
|
|
color: #111111 !important;
|
|
text-shadow: #aaaaaa 0 0 1px !important;
|
|
}
|
|
}
|
|
|
|
.isso-postbox {
|
|
max-width: 68em;
|
|
margin: 0 auto 2em;
|
|
clear: right;
|
|
> .form-wrapper {
|
|
display: block;
|
|
padding: 0;
|
|
.textarea,
|
|
.preview {
|
|
margin: 0 0 .3em;
|
|
padding: .4em .8em;
|
|
border-radius: 4px;
|
|
background-color: #e5e5e5;
|
|
color: black;
|
|
border: 1px solid rgba(0, 0, 0, 0.2);
|
|
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
|
|
}
|
|
input[type=checkbox] {
|
|
vertical-align: middle;
|
|
position: relative;
|
|
bottom: 1px;
|
|
margin-left: 0;
|
|
}
|
|
.notification-section {
|
|
font-size: 0.90em;
|
|
padding-top: .3em;
|
|
}
|
|
> .auth-section{
|
|
&, & .post-action {
|
|
display: block;
|
|
}
|
|
.input-wrapper {
|
|
display: inline-block;
|
|
position: relative;
|
|
max-width: 25%;
|
|
margin: 0;
|
|
margin-right: 5px;
|
|
input {
|
|
padding: .3em 10px;
|
|
max-width: 100%;
|
|
border-radius: 4px;
|
|
background-color: #e5e5e5;
|
|
color: black;
|
|
line-height: 1.4em;
|
|
border: 1px solid rgba(0, 0, 0, 0.2);
|
|
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
|
|
}
|
|
}
|
|
.post-action {
|
|
display: inline-block;
|
|
float: right;
|
|
margin: 0 0 0 5px;
|
|
> input {
|
|
padding: calc(.3em - 1px);
|
|
padding-left: 10px;
|
|
padding-right: 10px;
|
|
border-radius: 4px;
|
|
border: 1px solid #bdbdbd;
|
|
background-color: #2a2a2a;
|
|
cursor: pointer;
|
|
outline: 0;
|
|
line-height: 1.4em;
|
|
&:hover {
|
|
background-color: #0171ff;
|
|
border: 1px solid #0171ff;
|
|
color: white;
|
|
}
|
|
&:active {
|
|
background-color: #014faf;
|
|
border: 1px solid #014faf;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
.preview {
|
|
background-color: #303030;
|
|
background: repeating-linear-gradient(
|
|
-45deg,
|
|
#ffffff,
|
|
#ffffff 10px,
|
|
#e5e5e5 10px,
|
|
#e5e5e5 20px
|
|
);
|
|
}
|
|
> .notification-section {
|
|
display: none;
|
|
padding-bottom: 10px;
|
|
}
|
|
}
|
|
> .form-wrapper .preview,
|
|
> .form-wrapper input[name="edit"],
|
|
&.preview-mode > .form-wrapper input[name="preview"],
|
|
&.preview-mode > .form-wrapper .textarea {
|
|
display: none;
|
|
}
|
|
&.preview-mode > .form-wrapper{
|
|
.preview {
|
|
display: block;
|
|
}
|
|
input[name="edit"] {
|
|
display: inline;
|
|
}
|
|
}
|
|
}
|
|
@media screen and (max-width:600px) {
|
|
.isso-postbox > .form-wrapper > .auth-section .input-wrapper {
|
|
display: block;
|
|
max-width: 100%;
|
|
margin: 0 0 .3em;
|
|
input {
|
|
width: 100%;
|
|
}
|
|
}
|
|
}
|