summaryrefslogtreecommitdiff
path: root/src/scss/blog.scss
diff options
context:
space:
mode:
authorFreya Murphy <freya@freyacat.org>2024-05-24 09:05:42 -0400
committerFreya Murphy <freya@freyacat.org>2024-05-24 09:05:42 -0400
commitc5f39ea2cd7cf02246705ea8872d3b350526165c (patch)
tree2694f9fdc5d83b529a01f2997c1d89c271c86592 /src/scss/blog.scss
downloadwebsite-c5f39ea2cd7cf02246705ea8872d3b350526165c.tar.gz
website-c5f39ea2cd7cf02246705ea8872d3b350526165c.tar.bz2
website-c5f39ea2cd7cf02246705ea8872d3b350526165c.zip
initial
Diffstat (limited to 'src/scss/blog.scss')
-rw-r--r--src/scss/blog.scss61
1 files changed, 61 insertions, 0 deletions
diff --git a/src/scss/blog.scss b/src/scss/blog.scss
new file mode 100644
index 0000000..ff17caf
--- /dev/null
+++ b/src/scss/blog.scss
@@ -0,0 +1,61 @@
+@import "./variables";
+@import "./mixins";
+
+#blog {
+ padding-bottom: $inner-gap;
+}
+
+#main span {
+ display: inline-block;
+}
+
+#comments {
+ > span {
+ margin-bottom: 10px;
+ }
+
+ .comment {
+ .header {
+ display: inline-block;;
+ }
+ .date {
+ font-size: 70%;
+ display: inline-block;;
+ }
+ .content {
+ margin-top: 0;
+ }
+ }
+
+ #new_comment {
+ margin-left: $inner-gap;
+ max-width: 400px;
+ padding-right: $inner-gap;
+
+ input.hidden {
+ display: none;
+ }
+
+ input#author,
+ input#content {
+ width: 100%;
+ }
+
+ input {
+ @include border-radius($inner-radius);
+ display: block;
+ margin: 10px 0;
+ padding: 5px;
+ border: 2px solid $white-alt;
+ background: $black-alt;
+ color: $white;
+
+ &:hover,
+ &:focus,
+ &:active {
+ outline: none;
+ border: 2px solid $white;
+ }
+ }
+ }
+}