aboutsummaryrefslogtreecommitdiffstats
path: root/style.css
diff options
context:
space:
mode:
Diffstat (limited to 'style.css')
-rw-r--r--style.css26
1 files changed, 17 insertions, 9 deletions
diff --git a/style.css b/style.css
index ff91eb0..b065a5b 100644
--- a/style.css
+++ b/style.css
@@ -1,16 +1,24 @@
+#comments-widget h5 {
+ margin-top: 1rem;
+ margin-bottom: 1rem;
+}
+
#comments-widget {
font-family: Lato, FreeSans, Roboto, Helvetica, Sans-Serif;
+ display: flex;
+ flex-direction: column;
}
.comment-form {
- margin-top: 1em;
+ max-width: 100%;
}
.comment-form #commentcontent {
width: 100%;
- font-family: Lato, FreeSans, Roboto, Helvetica, Sans-Serif;
+ box-sizing: border-box;
}
+
.comment-form #submit {
border: 0;
line-height: 2.5;
@@ -27,17 +35,17 @@
cursor: pointer;
}
-@media only screen and (max-width: 450px) {
- #submit {
- width: 100%;
- }
- #bot {
- width: 100%;
+@media only screen and (min-width: 481px) {
+ .comment-form #submit {
+ float: right;
}
+}
- #username {
+@media only screen and (max-width: 481px) {
+ .comment-form input {
width: 100%;
+ box-sizing: border-box;
}
}