You are also welcome to send me a small amount via
Open Collective . If you like
you can also support me with a regular donation.
diff --git a/src/img/bg-light.png b/src/img/bg-light.png
new file mode 100644
index 0000000..190b85a
Binary files /dev/null and b/src/img/bg-light.png differ
diff --git a/src/img/gitea-white.svg b/src/img/gitea-white.svg
new file mode 100644
index 0000000..17188ec
--- /dev/null
+++ b/src/img/gitea-white.svg
@@ -0,0 +1 @@
+
Gitea icon
diff --git a/src/img/gitea.svg b/src/img/gitea.svg
index 17188ec..6ff0f33 100644
--- a/src/img/gitea.svg
+++ b/src/img/gitea.svg
@@ -1 +1 @@
-
Gitea icon
+
Gitea icon
diff --git a/src/img/matrix-white.svg b/src/img/matrix-white.svg
new file mode 100644
index 0000000..a0b2d62
--- /dev/null
+++ b/src/img/matrix-white.svg
@@ -0,0 +1 @@
+
Matrix icon
diff --git a/src/img/matrix.svg b/src/img/matrix.svg
index a0b2d62..1dcf4b6 100644
--- a/src/img/matrix.svg
+++ b/src/img/matrix.svg
@@ -1 +1 @@
-
Matrix icon
+
Matrix icon
diff --git a/src/img/opencollective-white.svg b/src/img/opencollective-white.svg
new file mode 100644
index 0000000..dcf7bd2
--- /dev/null
+++ b/src/img/opencollective-white.svg
@@ -0,0 +1 @@
+
Open Collective icon
diff --git a/src/img/opencollective.svg b/src/img/opencollective.svg
index dcf7bd2..eea0b36 100644
--- a/src/img/opencollective.svg
+++ b/src/img/opencollective.svg
@@ -1 +1 @@
-
Open Collective icon
+
Open Collective icon
diff --git a/src/img/threema-white.svg b/src/img/threema-white.svg
new file mode 100644
index 0000000..7b89b35
--- /dev/null
+++ b/src/img/threema-white.svg
@@ -0,0 +1 @@
+
Threema icon
diff --git a/src/img/threema.svg b/src/img/threema.svg
index 7b89b35..a2e3619 100644
--- a/src/img/threema.svg
+++ b/src/img/threema.svg
@@ -1 +1 @@
-
Threema icon
+
Threema icon
diff --git a/src/img/xmpp-white.svg b/src/img/xmpp-white.svg
new file mode 100644
index 0000000..5a0b67c
--- /dev/null
+++ b/src/img/xmpp-white.svg
@@ -0,0 +1 @@
+
XMPP icon
diff --git a/src/img/xmpp.svg b/src/img/xmpp.svg
index 5a0b67c..1b5e5b1 100644
--- a/src/img/xmpp.svg
+++ b/src/img/xmpp.svg
@@ -1 +1 @@
-
XMPP icon
+
XMPP icon
diff --git a/src/scss/icons.scss b/src/scss/icons.scss
new file mode 100644
index 0000000..82fed8a
--- /dev/null
+++ b/src/scss/icons.scss
@@ -0,0 +1,37 @@
+.si, .si::before {
+ display: inline-block;
+ margin: 0 8px;
+ width: 4em;
+ height: 4em;
+ line-height: 1;
+ box-sizing: border-box;
+}
+
+@media (max-width: 767.98px) {
+ .si, .si::before {
+ margin: 0 4px;
+ width: 2em;
+ height: 2em;
+ }
+}
+
+.h2si, .h2si::before {
+ margin: 0;
+ width: 30px;
+ height: 24px;
+}
+
+@mixin svg-icon($name) {
+ .si-#{$name}::before {
+ content: '\200b';
+ background-image: url("../img/#{$name}-white.svg");
+ background-repeat: no-repeat;
+ background-position: center;
+ }
+}
+
+@include svg-icon('matrix');
+@include svg-icon('gitea');
+@include svg-icon('xmpp');
+@include svg-icon('threema');
+@include svg-icon('opencollective');
diff --git a/src/scss/main.scss b/src/scss/main.scss
index ebbac55..1aa1db9 100644
--- a/src/scss/main.scss
+++ b/src/scss/main.scss
@@ -17,6 +17,9 @@ $fa-font-path: "../font";
$flag-icon-rect-path: '';
@import "node_modules/flag-icon-css/sass/flag-icon";
+$primary: #fea500;
+$primary_dark: #e5a52e;
+
html, body {
height: 100%;
display: flex;
@@ -26,6 +29,7 @@ html, body {
body {
background-image: url("../img/bg.png");
color: #fff;
+ font-weight: 300;
min-height: 100vh;
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
@@ -40,14 +44,18 @@ ul {
}
.highlight {
- color: #fea500;
+ color: $primary;
+}
+
+.text-foreground {
+ color: #fff;
}
a {
- color: #fea500;
+ color: $primary;
&:hover {
- color: #d78c00;
+ color: $primary_dark;
}
}
@@ -155,7 +163,7 @@ a {
}
.card {
- background-color: #222;
+ background-color: #111;
border: 1px solid #fff;
padding: 1rem;
}
@@ -183,10 +191,10 @@ a {
top: 0;
bottom: 0;
right: 0;
- color: #fea500 !important;
+ color: $primary !important;
&[href]:hover {
- color: #d78c00 !important;
+ color: $primary_dark !important;
}
}
@@ -195,8 +203,8 @@ a {
top: 0;
right: -1rem;
font-weight: bold;
- background-color: #fea500;
- color: #000000;
+ background-color: $primary;
+ color: #000;
padding: .5rem 1rem;
border-radius: 10px;
transform: rotate(20deg);
@@ -220,10 +228,10 @@ a {
}
&.flat {
- color: #fea500 !important;
+ color: $primary !important;
&:hover {
- color: #d78c00 !important;
+ color: $primary_dark !important;
}
.inner {
@@ -242,19 +250,19 @@ a {
}
.contact-links a {
- color: #ffffff !important;
+ color: #fff !important;
}
code {
- background-color: #fea500;
- color: #000000;
+ background-color: $primary;
+ color: #000;
padding: 1px 3px;
border-radius: 4px;
}
pre {
- background-color: #fea500;
- color: #000000;
+ background-color: $primary;
+ color: #000;
padding: 1px 3px;
border-radius: 4px;
@@ -274,17 +282,3 @@ pre {
font-size: 2em;
}
}
-
-.svg-icon {
- margin: 0 8px;
- width: 4em;
- height: 4em;
-}
-
-@media (max-width: 767.98px) {
- .svg-icon {
- margin: 0 4px;
- width: 2em;
- height: 2em;
- }
-}
\ No newline at end of file