Compare commits

...

4 Commits

2
.gitignore vendored

@ -1,3 +1,5 @@
public/
hugo_stats.json
.hugo_build.lock
node_modules
resources

@ -0,0 +1,99 @@
/* Tailwind base - put variables under: tailwind.config.js */
@import "tailwindcss/base";
/* Tailwind component classes registered by plugins*/
@import "tailwindcss/components";
/* Tailwind's utility classes - generated based on config file */
@import "tailwindcss/utilities";
/*
#
# Buttons
#
*/
/*
.button-primary {
background-color: rgb(239, 130, 44);
}
.button-primary:hover {
background-color: rgb(236, 113, 18);
}
.button-secondary {
color: rgba(255, 255, 255, 0.95);
background-color: rgb(100, 100, 100);
}
.button-secondary:hover {
background-color: rgb(90, 90, 90);
}
*/
/*
#
# Top border color of form inputs
#
*/
/*
.border-t {
border-color: rgb(239, 130, 44);
}
*/
/*
#
# Header Background & Text
#
*/
/*
#header-inner-wrapper {
background-color: rgba(26, 38, 191, 0.9);
}
#brand-headline {
color: rgb(239, 130, 44);
}
#tagline-paragraph {
color: rgba(255, 255, 255, 0.95);
}
*/
/*
#
# Content below the header
#
*/
.prose h1 {
font-size:5REM;
}
.prose h2 {
font-size:4REM;
}
.prose h3 {
font-size:1.5REM;
}
blockquote, dl, dd, h1, h2, h3, h4, h5, h6, hr, figure, p, pre {
margin: 10px;
}
ol, ul {
list-style: circle;
margin: 0px;
padding: 20px;
}
/*
.prose p {
color: white;
}
*/

@ -47,7 +47,7 @@ Installiert ist ein aktuelles [lineage OS](https://lineageos.org/), mit einigen
- {{< app-desc name="fdroid" target="https://f-droid.org/" imgurl="https://gitlab.com/fdroid/artwork/-/raw/master/fdroid-logo-2015/fdroid-logo.svg" >}} Der freie App Store. {{< /app-desc >}}
- {{< app-desc name="aurora" target="https://auroraoss.com/" imgurl="https://gitlab.com/AuroraOSS/AuroraStore/-/raw/master/app/src/main/res/mipmap-mdpi/ic_launcher.png" >}} Ermöglicht das wahlweise anonyme Nutzen des play stores.{{< /app-desc >}}
- Groupware
- {{< app-desc name="nextcloud" target="https://nextcloud.com/" imgurl="https://nextcloud.com/wp-content/themes/next/assets/img/common/favicon.png" >}} Die dezentrale Komplettlösung für online Zusammenarbeit. Ermöglicht den Zugriff auf Onlinespeicherplatz, optional Ende-zu-Ende verschlüsselt. Synchronisiert online Kalender und Aufgabenverwaltung. {{< /app-desc >}}
- {{< app-desc name="nextcloud" target="https://nextcloud.com/" imgurl="https://nextcloud.com/wp-content/uploads/2022/03/favicon.png" >}} Die dezentrale Komplettlösung für online Zusammenarbeit. Ermöglicht den Zugriff auf Onlinespeicherplatz, optional Ende-zu-Ende verschlüsselt. Synchronisiert online Kalender und Aufgabenverwaltung. {{< /app-desc >}}
- Sandkasten
- {{< app-desc name="shelter" imgurl="https://raw.githubusercontent.com/PeterCxy/Shelter/master/art/ic_launcher_egg-web.png" target="https://f-droid.org/en/packages/net.typeblog.shelter/" >}} Manche apps verstehen noch nicht so richtig, daß sie mit unseren Daten vorsichtig umgehen müssen. In diesem Sandkasten können sie im geschützten Rahmen genutzt werden. {{< /app-desc >}}
- Editor

@ -0,0 +1,38 @@
const removeNewlines = (string) => string.replace(/\n$/g, "");
// See https://gohugo.io/hugo-pipes/postprocess/#css-purging-with-postcss
const purgecss = require("@fullhuman/postcss-purgecss")({
content: [
//
// TODO: Maybe use process.cwd() to get some heuristics of what
// is going on, i.e. which of the following cases we are in.
//
// When this file is copied to the root of your Hugo site
"./hugo_stats.json",
// When your Hugo site does not have its own postcss.config.js
// and hence this file is used inside ./themes/hugo-product-launch
"../../hugo_stats.json",
// When building the exampleSite during development
"./exampleSite/hugo_stats.json",
],
defaultExtractor: (content) => {
let els = JSON.parse(content).htmlElements;
// An HTML element-name may include a newline, e.g.
// <a
// href="https://www.yo.com"
// class="pretty-link"
// >Yo!</a>
// Thus we remove those newlines.
return els.tags.concat(els.classes, els.ids).map(removeNewlines);
},
});
module.exports = {
plugins: [
require("postcss-import"),
require("tailwindcss"),
require("autoprefixer"),
// ...(process.env.HUGO_ENVIRONMENT === "production" ? [purgecss] : []),
],
};
Loading…
Cancel
Save