diff --git a/brutaldon/migrations/0007_auto_20180618_2115.py b/brutaldon/migrations/0007_auto_20180618_2115.py index f26aa07..d2906db 100644 --- a/brutaldon/migrations/0007_auto_20180618_2115.py +++ b/brutaldon/migrations/0007_auto_20180618_2115.py @@ -71,10 +71,11 @@ def set_up_default_themes(apps, schema_editor): name="vt240 green", main_css="css/vt240don-green.css", is_brutalist=True ) vt240_green.save() + newspaper = Theme(name="Newspaper", main_css="css/newspaper.css", is_brutalist=True) + newspaper.save() minimal = Theme(name="No styling at all", main_css=None, is_brutalist=True) minimal.save() - def delete_themes(apps, schema_editor): Theme = apps.get_model("brutaldon" "Theme") for theme in Theme.objects.all(): diff --git a/brutaldon/static/css/newspaper.css b/brutaldon/static/css/newspaper.css new file mode 100644 index 0000000..303345b --- /dev/null +++ b/brutaldon/static/css/newspaper.css @@ -0,0 +1,82 @@ +body { + padding: 3rem 1rem; + line-height: 1.75; + font-size: 1.25em; + font-family: Spectral, serif; + background-color: #FCFCFC; + color: #000 +} + +main { + max-width: 70ch; + margin: auto; +} + +#main-nav-bar *, +nav.level * { + display: inline; + padding-right: .25rem; + text-decoration: none; +} + + +#main-nav-bar { + border-bottom: 1px solid black; + padding-bottom: .25rem; + width: 100%; + position: fixed; + top: 0; + background: #FCFCFC; + color: black; + opacity: 100% +} + +.navbar-item img.avatar { + margin-top: 16px; +} + +p { + text-align: justify; + hyphens: auto; +} + +article { + border: 1px solid #CCC; + padding: 2rem; + /* max-height: 80vh; + overflow: scroll; */ +} + +.card { + border: 1px dotted #888; + padding: 1.5rem; + font-size: 0.75rem; + max-height: 10rem; + overflow: clip; +} + +.user-card { + font-size: 1rem; + max-height: 100%; + overflow: auto; +} + +.reblog-icon { + position: static; + margin-left: 48px; + margin-top: -24px; +} + +.image.is-max-256 { + max-width: 100%; + margin: auto; +} + + +#id_spoiler_text { + width: 80%; +} +#id_status { + width: 80%; + height: 8rem; +}