diff --git a/tildes/scss/modules/_static-site.scss b/tildes/scss/modules/_static-site.scss new file mode 100644 index 0000000..7bd5b7f --- /dev/null +++ b/tildes/scss/modules/_static-site.scss @@ -0,0 +1,14 @@ +// Copyright (c) 2019 Tildes contributors +// SPDX-License-Identifier: AGPL-3.0-or-later + +// Rules in this file are used by the Tildes static sites (Blog, Docs), not Tildes +// itself. In general, rules in here should be kept to the absolute minimum, and only +// used when necessary to transfer over styling to the static sites where it's not +// feasible to do that through the separate CSS file in the repo for those sites. + +body.static-site { + main { + @extend %links-text; + @extend %lists-text; + } +} diff --git a/tildes/scss/styles.scss b/tildes/scss/styles.scss index ca8d258..c197317 100644 --- a/tildes/scss/styles.scss +++ b/tildes/scss/styles.scss @@ -27,6 +27,7 @@ @import 'modules/sidebar'; @import 'modules/site-footer'; @import 'modules/site-header'; +@import 'modules/static-site'; @import 'modules/tab'; @import 'modules/text'; @import 'modules/time';