Summary Files Commits Branches @commit @diff @stats
path: root / src / styles.css
diff options
context:
space:
mode:
Commitc32fdd5770fa499713319b52e14356ef2b7a32f8 (patch)
Author
 Syndamia <kamen.d.mladenov@protonmail.com>
2022-03-28 10:17:22 +0300
Committer
 Syndamia <kamen.d.mladenov@protonmail.com>
2022-03-28 10:17:22 +0300
Files85679971162afa5fd9c8a8baa30d671ef495577e /src/styles.css
syndamia.com-c32fdd5770fa499713319b52e14356ef2b7a32f8.tar
syndamia.com-c32fdd5770fa499713319b52e14356ef2b7a32f8.tar.gz
syndamia.com-c32fdd5770fa499713319b52e14356ef2b7a32f8.zip
Parent29d023ee0a114a6152e6f45d9495bb901a44ab73 (diff)
Replaced contact flex with table, obscurified emails and updated table styling
1 files changed, 3 insertions, 40 deletions
-rw-r--r--src/styles.css43
diff --git a/src/styles.css b/src/styles.css
index 1559964..d6c877a 100644
--- a/src/styles.css
+++ b/src/styles.css
@@ -327,10 +327,9 @@ article > table:nth-child(5) td:first-child {
width: 60%;
}
-article > table td:nth-child(n+2) {
- line-height: 1.1em;
- padding: 0.3em;
- padding-top: 0.2em;
+article > table td:not(:empty) {
+ padding: 0.5em;
+ word-break: break-word;
}
article > table code {
@@ -343,7 +342,6 @@ article > table th {
article > table td,
article > table th {
- padding: 6px 13px;
border: 1px solid var(--td-border-color);
}
@@ -387,41 +385,6 @@ blockquote > :last-child {
padding: 0;
}
-/* Contact flex */
-
-#contact-flex {
- display: flex;
- flex-wrap: wrap;
- overflow: hidden;
-}
-
-#contact-flex > div {
- flex: 1;
-}
-
-.contact-card-title, .contact-card-content {
- background-color: var(--alternating-row-color);
- padding: 0.7rem;
- line-height: 1.5rem;
-}
-
-.contact-card-title *, .contact-card-content * {
- background-color: inherit;
- border: none;
-}
-
-.contact-card-title {
- font-size: 1.2em;
- margin: 0em 0.4em;
- color: var(--header-color);
-}
-
-.contact-card-content {
- font-size: 0.9em;
- margin: 1em 1.3em;
- box-sizing: border-box;
-}
-
/* Syntax highlighting (colours are inspired from gruvbox) */
.cst, .chr { /* Constant, Chars */