Summary Files Commits Branches @commit @diff @stats
path: root / src / styles.css
diff options
context:
space:
mode:
Commit866bfa748eebf39b48c3ff180169b40d8b941b6f (patch)
Author
 Syndamia <kamen.d.mladenov@protonmail.com>
2021-03-12 10:49:41 +0200
Committer
 Syndamia <kamen.d.mladenov@protonmail.com>
2021-03-12 10:49:41 +0200
Files1eace3986e1b37781ca478b48441d177d8fde30d /src/styles.css
syndamia.com-866bfa748eebf39b48c3ff180169b40d8b941b6f.tar
syndamia.com-866bfa748eebf39b48c3ff180169b40d8b941b6f.tar.gz
syndamia.com-866bfa748eebf39b48c3ff180169b40d8b941b6f.zip
Parentb71ba5e0a74b74545c773f137d1510ef7ddcf5d7 (diff)
Improved ordering of css styling
1 files changed, 62 insertions, 59 deletions
-rw-r--r--src/styles.css121
diff --git a/src/styles.css b/src/styles.css
index 8ae4b3d..d6e22e0 100644
--- a/src/styles.css
+++ b/src/styles.css
@@ -15,13 +15,7 @@ blockquote * {
color: #919191 !important;
}
-h1 {
- font-size: 1.7em;
-}
-h2 {
- font-size: 1.35em;
-}
h1, h2, h3, h4, h5, h6, b {
color: #d49408 !important;
@@ -99,7 +93,12 @@ body, td, th {
line-height: 1.5em;
}
+h1 {
+ font-size: 1.7em;
+}
+
h2 {
+ font-size: 1.35em;
padding-bottom: 0.25em;
border-bottom: 2px solid black;
}
@@ -185,62 +184,12 @@ h1 + p img, h2 + p img, h3 + p img, h4 + p img, h5 + p img, h6 + p img {
background-color: var(--link-tab-bg-hover-color);
}
-/* OpenSans font */
-
-@font-face {
- font-family: 'Open Sans';
- src: url(/fonts/open-sans/OpenSans-Regular.ttf);
- font-weight: normal;
-}
-
-@font-face {
- font-family: 'Open Sans';
- src: url(/fonts/open-sans/OpenSans-Bold.ttf);
- font-weight: bold;
-}
-
-@font-face {
- font-family: 'Open Sans';
- src: url(/fonts/open-sans/OpenSans-ExtraBold.ttf);
- font-weight: 800;
-}
-
-@font-face {
- font-family: 'Open Sans';
- src: url(/fonts/open-sans/OpenSans-Italic.ttf);
- font-weight: normal;
- font-style: italic;
-}
-
-@font-face {
- font-family: 'Open Sans';
- src: url(/fonts/open-sans/OpenSans-BoldItalic.ttf);
- font-weight: bold;
- font-style: italic;
-}
-
-@font-face {
- font-family: 'Open Sans';
- src: url(/fonts/open-sans/OpenSans-ExtraBoldItalic.ttf);
- font-weight: 800;
- font-style: italic;
-}
-
-@font-face {
- font-family: 'Open Sans';
- src: url(/fonts/open-sans/OpenSans-Semibold.ttf);
- font-weight: 600;
-}
+/* Index page styling */
-@font-face {
- font-family: 'Open Sans';
- src: url(/fonts/open-sans/OpenSans-SemiboldItalic.ttf);
- font-weight: 600;
- font-style: italic;
+#index-contents-img {
+ border: none;
}
-/* Index page styling */
-
@media screen and (min-width: 610px) {
#index-page {
margin-bottom: 10px;
@@ -356,3 +305,57 @@ blockquote > :first-child {
blockquote > :last-child {
margin-bottom: 0;
}
+
+/* OpenSans font */
+
+@font-face {
+ font-family: 'Open Sans';
+ src: url(/fonts/open-sans/OpenSans-Regular.ttf);
+ font-weight: normal;
+}
+
+@font-face {
+ font-family: 'Open Sans';
+ src: url(/fonts/open-sans/OpenSans-Bold.ttf);
+ font-weight: bold;
+}
+
+@font-face {
+ font-family: 'Open Sans';
+ src: url(/fonts/open-sans/OpenSans-ExtraBold.ttf);
+ font-weight: 800;
+}
+
+@font-face {
+ font-family: 'Open Sans';
+ src: url(/fonts/open-sans/OpenSans-Italic.ttf);
+ font-weight: normal;
+ font-style: italic;
+}
+
+@font-face {
+ font-family: 'Open Sans';
+ src: url(/fonts/open-sans/OpenSans-BoldItalic.ttf);
+ font-weight: bold;
+ font-style: italic;
+}
+
+@font-face {
+ font-family: 'Open Sans';
+ src: url(/fonts/open-sans/OpenSans-ExtraBoldItalic.ttf);
+ font-weight: 800;
+ font-style: italic;
+}
+
+@font-face {
+ font-family: 'Open Sans';
+ src: url(/fonts/open-sans/OpenSans-Semibold.ttf);
+ font-weight: 600;
+}
+
+@font-face {
+ font-family: 'Open Sans';
+ src: url(/fonts/open-sans/OpenSans-SemiboldItalic.ttf);
+ font-weight: 600;
+ font-style: italic;
+}