Compare commits

...

7 Commits

Author SHA1 Message Date
Marek Ľach
f2273b984c
Update main.scss 2019-06-01 11:19:37 +02:00
Marek Ľach
7be397b76e
Update _forms.scss 2019-05-31 13:08:36 +02:00
Marek Ľach
d82a7674ce
Update main.scss 2019-05-31 13:07:59 +02:00
Marek Ľach
38723a4d20
Update _forms.scss 2019-05-31 10:09:25 +02:00
Marek Ľach
1fc3b3dd4e
Update _forms.scss 2019-05-31 10:06:28 +02:00
Marek Ľach
d2a684650a
Update _article.scss 2019-05-31 09:58:47 +02:00
Marek Ľach
82659391f9
Update _forms.scss 2019-05-31 09:49:33 +02:00
3 changed files with 14 additions and 12 deletions

View File

@ -64,7 +64,7 @@ main header.article {
} }
main .article-info { main .article-info {
margin: 0 auto 3em; margin: 0 auto 2em;
font-size: 0.95em; font-size: 0.95em;
font-weight: 400; font-weight: 400;
@ -76,7 +76,7 @@ main .article-info {
// The article itself // The article itself
main article { main article {
max-width: $article-width; max-width: $article-width;
margin: 2.5em auto; margin: 1.5em auto;
font-family: $lora; font-family: $lora;
font-size: 1.2em; font-size: 1.2em;
line-height: 1.7; line-height: 1.7;
@ -87,7 +87,7 @@ main article {
img { img {
display: block; display: block;
margin: 3em auto; margin: 2em auto;
max-width: 100%; max-width: 100%;
} }
@ -118,7 +118,7 @@ main .article-meta {
} }
> .banner { > .banner {
margin: 3em 0; margin: 2em 0;
& > * { & > * {
margin: $margin; margin: $margin;
} }
@ -370,6 +370,7 @@ main .article-meta {
background: transparent; background: transparent;
align-items: center; align-items: center;
justify-content: space-between; justify-content: space-between;
resize: auto;
button { button {
flex: 0 0 10em; flex: 0 0 10em;
font-size: 1.25em; font-size: 1.25em;

View File

@ -24,13 +24,13 @@ input, textarea, select {
} }
} }
form input[type="submit"] { form input[type="submit"] {
margin: 2em auto; margin: 1.5em auto;
-webkit-appearance: none; -webkit-appearance: none;
} }
textarea { textarea {
resize: vertical; resize: vertical;
overflow-y: scroll;
font-family: $lora; font-family: $lora;
font-size: 1.1em; font-size: 1.1em;
line-height: 1.5; line-height: 1.5;
@ -127,8 +127,8 @@ form.new-post {
} }
textarea { textarea {
min-height: 20em; min-height: 20em;
overflow-y: hidden; overflow-y: scroll;
resize: none; resize: vertical;
-webkit-appearance: textarea; -webkit-appearance: textarea;
} }
} }

View File

@ -44,6 +44,7 @@ html {
display: none; display: none;
appearance: none; appearance: none;
text-align: center; text-align: center;
overflow-y: scroll;
z-index: 20; z-index: 20;
} }
} }
@ -108,13 +109,13 @@ html {
main .article-meta { main .article-meta {
> *, .comments { > *, .comments {
margin: 0 5%; margin: 0 3%;
} }
> p { > p {
margin: 2em 5%; margin: 1em 3%;
font-size: 0.9em; font-size: 0.9em;
} }
.comments > * { margin: auto 5%; } .comments > * { margin: auto 3%; }
.comments .comment { padding: 2em 0px; } .comments .comment { padding: 2em 0px; }
} }
main .article-info, main article, main h1.article, main h2.article { main .article-info, main article, main h1.article, main h2.article {
@ -127,7 +128,7 @@ html {
} }
.tabs { .tabs {
margin: auto 0px 2em; margin: auto 0px 1em;
} }
.stats { flex-direction: column; } .stats { flex-direction: column; }