310 lines
7.4 KiB
SCSS
310 lines
7.4 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
|
|
}
|
|
|
|
/* 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: #e5e5e5;
|
|
}
|
|
}
|
|
.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: 3px;
|
|
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;
|
|
}
|
|
.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: 2px;
|
|
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: 2px;
|
|
}
|
|
.upvote svg,
|
|
.downvote svg {
|
|
position: relative;
|
|
top: .2em;
|
|
}
|
|
}
|
|
}
|
|
.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: 3px;
|
|
background-color: #000;
|
|
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;
|
|
input {
|
|
padding: .3em 10px;
|
|
max-width: 100%;
|
|
border-radius: 3px;
|
|
background-color: #000;
|
|
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);
|
|
border-radius: 2px;
|
|
border: 1px solid #c4c4c4;
|
|
background-color: #000;
|
|
cursor: pointer;
|
|
outline: 0;
|
|
line-height: 1.4em;
|
|
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
|
|
&:hover {
|
|
background-color: #eb6c6c;
|
|
}
|
|
&:active {
|
|
background-color: #781f1a;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
.preview {
|
|
background-color: #303030;
|
|
background: repeating-linear-gradient(
|
|
-45deg,
|
|
#303030,
|
|
#303030 10px,
|
|
#232323 10px,
|
|
#232323 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%;
|
|
}
|
|
}
|
|
}
|