summaryrefslogtreecommitdiff
path: root/alabaster-lite/css/fkfd.css
diff options
context:
space:
mode:
Diffstat (limited to 'alabaster-lite/css/fkfd.css')
-rw-r--r--alabaster-lite/css/fkfd.css52
1 files changed, 44 insertions, 8 deletions
diff --git a/alabaster-lite/css/fkfd.css b/alabaster-lite/css/fkfd.css
index 749c4cb..294c4f6 100644
--- a/alabaster-lite/css/fkfd.css
+++ b/alabaster-lite/css/fkfd.css
@@ -118,35 +118,49 @@ div.footer a {
/*
* Custom home page for fkfd.me
* Created on 2022-12-28
+ * Last revision 2023-11-05
*/
-div .category-block-container {
+.header-block-container {
+ display: grid;
+ gap: 60px;
+ grid-template-columns: 120px 120px 120px;
+}
+
+.category-block-container {
display: grid;
gap: 20px;
grid-template-columns: 320px 320px;
}
-div .webring-block-container {
+.webring-block-container {
display: grid;
gap: 0px;
grid-template-columns: 120px 120px 120px;
}
@media screen and (max-width: 870px) {
- div .category-block-container {
- display: grid;
- gap: 20px;
+ .header-block-container {
+ gap: 0px;
+ }
+
+ .category-block-container {
/* one column only on narrow screens */
grid-template-columns: 320px;
}
}
-.category-block, .webring-block {
+.header-block-container a,
+.webring-block-container a {
+ text-decoration: none;
+}
+
+.header-block, .category-block, .webring-block {
display: grid;
text-align: center;
}
-.category-icon, .webring-icon {
+.header-icon, .category-icon, .webring-icon {
display: block;
width: 120px;
height: 120px;
@@ -159,12 +173,19 @@ div .webring-block-container {
-webkit-mask-repeat: no-repeat;
}
+@media screen and (max-width: 870px) {
+}
+
@media (prefers-color-scheme: dark) {
- .category-icon, .webring-icon {
+ .header-icon, .category-icon, .webring-icon {
background-color: white;
}
}
+.header-text {
+ text-align: center;
+}
+
.category-text {
position: absolute;
margin-left: 130px;
@@ -176,6 +197,21 @@ div .webring-block-container {
text-align: center;
}
+#icon-about {
+ mask-image: url("../img/icons/about.png");
+ -webkit-mask-image: url("../img/icons/about.png");
+}
+
+#icon-x {
+ mask-image: url("../img/icons/x.png");
+ -webkit-mask-image: url("../img/icons/x.png");
+}
+
+#icon-links {
+ mask-image: url("../img/icons/links.png");
+ -webkit-mask-image: url("../img/icons/links.png");
+}
+
#icon-projects {
mask-image: url("../img/icons/projects.png");
-webkit-mask-image: url("../img/icons/projects.png");