Summary Files Commits Branches @commit @diff @stats
path: root / src / styles.css
diff options
context:
space:
mode:
Commite6b1b6a091d9b30887bc09d8f351b8f4d199e5cb (patch)
Author
 Syndamia <kamen.d.mladenov@protonmail.com>
2022-03-28 12:37:53 +0300
Committer
 Syndamia <kamen.d.mladenov@protonmail.com>
2022-03-28 12:38:01 +0300
Files58eb6c9f9f07f3c3054d71f989893138b0697c71 /src/styles.css
syndamia.com-e6b1b6a091d9b30887bc09d8f351b8f4d199e5cb.tar
syndamia.com-e6b1b6a091d9b30887bc09d8f351b8f4d199e5cb.tar.gz
syndamia.com-e6b1b6a091d9b30887bc09d8f351b8f4d199e5cb.zip
Parent1ee063b8b3b7417a29c6be5e3c26aa92eda23d25 (diff)
Adjusted table stylings and word-breaking
1 files changed, 14 insertions, 4 deletions
-rw-r--r--src/styles.css18
diff --git a/src/styles.css b/src/styles.css
index 6bedaa1..8bbb254 100644
--- a/src/styles.css
+++ b/src/styles.css
@@ -259,6 +259,10 @@ h2 + p img, h3 + p img, h4 + p img, h5 + p img, h6 + p img, .about-p img, .file-
#index-contents-img {
max-width: 32%;
}
+
+ article > table td, article > table th {
+ word-break: normal !important;
+ }
}
#index-list {
@@ -329,7 +333,7 @@ article > table:nth-child(5) td:first-child {
article > table td:not(:empty) {
padding: 0.5em;
- word-break: break-word;
+ word-break: break-all;
}
article > table th:not(:empty) {
@@ -337,6 +341,7 @@ article > table th:not(:empty) {
padding: 0.25em;
font-weight: 600;
}
+
article > table code {
font-size: 0.7em;
}
@@ -378,12 +383,17 @@ blockquote > :last-child {
table-layout: auto;
border-collapse: collapse;
margin-left: 1.5em;
- width: calc(100% - 1.5em);
+ width: auto;
+ margin-top: -0.9em;
}
-.file-list * {
+.file-list td, .file-list tr {
border: none;
- padding: 0;
+ padding: 0.2em 0.4em !important;
+}
+
+.file-list tr > td:first-child {
+ padding: 0.2em 0 0.2em 0.2em !important;
}
/* Syntax highlighting (colours are inspired from gruvbox) */