aboutsummaryrefslogtreecommitdiff
path: root/static/css
diff options
context:
space:
mode:
authorFChannel0 <77419041+FChannel0@users.noreply.github.com>2021-08-20 23:25:47 -0700
committerGitHub <noreply@github.com>2021-08-20 23:25:47 -0700
commitcc4165f07a406cdd89e6a3864cac6a367f281513 (patch)
tree6b8959d49acdb95f57dd10717e729a98e252471f /static/css
parent502558e0bdaf67ca4c012fc1983f42430b8854cd (diff)
parent8d28fd2ad688051fe06813026d82661b76617602 (diff)
Merge pull request #54 from KushBlazingJudah/development
themes fixup
Diffstat (limited to 'static/css')
-rw-r--r--static/css/themes/default.css39
-rw-r--r--static/css/themes/gruvbox.css39
2 files changed, 74 insertions, 4 deletions
diff --git a/static/css/themes/default.css b/static/css/themes/default.css
index 24e85e6..8b93e51 100644
--- a/static/css/themes/default.css
+++ b/static/css/themes/default.css
@@ -126,7 +126,8 @@ a.reply {
}
.popup-box {
- position: absolute;
+ position: fixed;
+ min-width: 300px;
width: min-content;
z-index: 9;
display: block;
@@ -151,7 +152,6 @@ a.reply {
.newsbox-news {
text-align: left;
- margin-left: 25px;
margin-top: 25px;
padding: 25px;
}
@@ -160,3 +160,38 @@ a.reply {
.newsbox-news h3 {
margin: 0;
}
+
+#stopTablePost {
+ float: right;
+ display: none;
+}
+
+#boardGrid {
+ display: grid;
+ grid-auto-columns: 1fr;
+ border: 4px solid #820404;
+ background-color: #f9f9e0;
+}
+
+#boardGridHeader {
+ border-bottom: 2px solid #820404;
+ display: inline-grid;
+}
+
+.boardGridCell {
+ white-space: nowrap;
+ display: inline-grid;
+ text-align: left;
+ padding: 5px;
+ border-top: 2px solid #820404;
+ border-left: 2px solid #820404;
+}
+
+/* these may or may not work. my CSS is poor so i just kinda did stuff until it worked. */
+.boardGridCell:nth-child(-n+4) {
+ border-top: none;
+}
+
+.boardGridCell:nth-child(3n+2) {
+ border-left: none;
+}
diff --git a/static/css/themes/gruvbox.css b/static/css/themes/gruvbox.css
index fb40267..b534bed 100644
--- a/static/css/themes/gruvbox.css
+++ b/static/css/themes/gruvbox.css
@@ -103,7 +103,8 @@ input[type="text"] {
}
.popup-box {
- position: absolute;
+ position: fixed;
+ min-width: 300px;
width: min-content;
z-index: 9;
display: block;
@@ -129,7 +130,6 @@ input[type="text"] {
.newsbox-news {
text-align: left;
background-color: #504945;
- margin-left: 25px;
margin-top: 25px;
padding: 25px;
}
@@ -138,3 +138,38 @@ input[type="text"] {
.newsbox-news h3 {
margin: 0;
}
+
+#stopTablePost {
+ float: right;
+ display: none;
+}
+
+#boardGrid {
+ display: grid;
+ grid-auto-columns: 1fr;
+ border: 4px solid #928374;
+ background-color: #3c3836;
+}
+
+#boardGridHeader {
+ border-bottom: 2px solid #928374;
+ display: inline-grid;
+}
+
+.boardGridCell {
+ white-space: nowrap;
+ display: inline-grid;
+ text-align: left;
+ padding: 5px;
+ border-top: 2px solid #928374;
+ border-left: 2px solid #928374;
+}
+
+/* these may or may not work. my CSS is poor so i just kinda did stuff until it worked. */
+.boardGridCell:nth-child(-n+4) {
+ border-top: none;
+}
+
+.boardGridCell:nth-child(3n+2) {
+ border-left: none;
+}