git-repo-styles

Design documents for git.pablopie.xyz ✏️

Commit
15e3bc53286df1ad896ea3951bdf83e871d28196
Author
Pablo <pablo-escobar@riseup.net>
Date

Initial commit

Diffstat

2 files changed, 162 insertions, 0 deletions

Status File Name N° Changes Insertions Deletions
Added favicon.svg 8 8 0
Added styles.css 154 154 0
diff --git a/favicon.svg b/favicon.svg
@@ -0,0 +1,8 @@
+<svg viewBox="0 0 256 256" xmlns="http://www.w3.org/2000/svg">
+   <circle cx="128" 
+           cy="128" 
+           r="112" 
+           fill="transparent" 
+           stroke="#ff6b9c" 
+           stroke-width="32"/>
+</svg>
diff --git a/styles.css b/styles.css
@@ -0,0 +1,154 @@
+/*  This program is free software: you can redistribute it and/or modify
+    it under the terms of the GNU General Public License as published by
+    the Free Software Foundation, either version 3 of the License, or
+    (at your option) any later version.
+
+    This program is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+    GNU General Public License for more details.
+
+    You should have received a copy of the GNU General Public License
+    along with this program. If not, see <https://www.gnu.org/licenses/>. */
+
+:root {
+  --light-background: #101822;
+  --dark-background: #070d15;
+  --foreground: #dfdfdf;
+  --accent: #ff6b9c;
+}
+
+body {
+  margin: 0;
+  padding: 1em;
+
+  color: var(--foreground);
+  background: var(--light-background);
+
+  font-size: 12.5pt;
+  text-align: left;
+  font-family: sans-serif;
+}
+
+@media (min-width: 800px) {
+  body {
+    padding: 1em 15vw;
+  }
+}
+
+main {
+  padding: 1em 0;
+}
+
+p {
+  margin-top: 1em;
+}
+
+a {
+  color: var(--foreground);
+}
+
+h1, h2, h3, h4, h5, h6 {
+  color: var(--accent);
+  margin: 1rem 0;
+  text-align: left;
+}
+
+ul, ol {
+  padding: 0;
+}
+
+ul {
+  margin-left: 1em;
+  list-style-type: disc;
+}
+
+ol {
+  margin-left: 2em;
+  list-style-type: decimal;
+}
+
+ul li::marker, ol li::marker {
+  font-weight: bold;
+  font-style: normal;
+  color: var(--accent);
+}
+
+footer {
+  text-align: center;
+}
+
+table {
+  width: 100%;
+}
+
+thead td {
+  font-weight: bold;
+}
+
+main > *:first-child, #readme > *:first-child {
+  margin-top: 0;
+}
+
+main > *:last-child, #readme > *:last-child {
+  margin-bottom: 0;
+}
+
+.article-list article, #readme {
+  background: var(--dark-background);
+  padding: 1em;
+  margin: .5em 0;
+}
+
+.article-list article h4 {
+  margin: 0;
+  margin-bottom: .5em;
+  font-size: 1rem;
+}
+
+.article-list article > p:last-child {
+  margin-bottom: 0;
+}
+
+.article-list article h4 a, nav a {
+  color: var(--accent);
+  font-weight: bold;
+  text-decoration: none;
+}
+
+.article-list article h4 a:hover, nav a:hover {
+  text-decoration: underline;
+}
+
+.article-list article h4 {
+  border-bottom: 1px solid var(--accent);
+  font-size: 1em;
+}
+
+.article-list article time {
+  display: inline-block;
+  float: right;
+  color: var(--dark-background);
+  background: var(--foreground);
+  padding: 0 10px;
+  maring-top: 10px;
+}
+
+.codeblock {
+  background: var(--dark-background);
+  border-left: 5px solid var(--accent);
+  padding-left: 1em;
+
+  overflow-x: scroll;
+  scrollbar-width: none;
+
+  margin: 1em 0;
+}
+
+#readme .codeblock {
+  background: var(--light-background);
+}
+
+.codeblock pre {
+  margin: 0;
+}