[UI] Fixing static pages styling

This commit is contained in:
rainydaysavings 2020-08-20 22:18:06 +01:00 committed by Hugo Sales
parent a85b5b44f1
commit 396af498a2
No known key found for this signature in database
GPG Key ID: 7D0C7EAFC9D835A0
5 changed files with 20 additions and 17 deletions

View File

@ -1,23 +1,27 @@
.content { .content {
display: flex; display: flex;
flex-wrap: wrap; flex-wrap: wrap;
margin-top: calc(3 * var(--main-size)); margin-top: calc(4 * var(--main-size));
justify-content: center; justify-content: center;
align-items: center; align-items: center;
margin-left: var(--nav-size); margin-left: calc(var(--nav-size) + var(--unit-size));
margin-right: 0; margin-right: calc(var(--nav-size) + var(--unit-size));
margin-bottom: var(--unit-size);
border: solid 2px var(--accent-low);
border-radius: var(--small-size);
} }
.faq-nav { .faq-nav {
order: 1; order: 1;
display: flex; display: flex;
justify-content: space-between; justify-content: space-evenly;
flex-wrap: wrap; flex-wrap: wrap;
width: 100%; flex: 1;
background-color: #2A323B; background-color: var(--bg1);
padding: var(--medium-size); padding: var(--medium-size);
font-size: var(--medium-size); font-size: var(--medium-size);
font-family: var(--head-font); font-family: var(--head-font);
border-radius: var(--small-size) var(--small-size) 0 0;
} }
.faq-nav ul { .faq-nav ul {
@ -56,15 +60,14 @@
.markd { .markd {
order: 2; order: 2;
background-color: #00000050; background-color: var(--bg2);
font-size: var(--small-size); font-size: var(--medium-size);
padding: calc(3*var(--unit-size)); padding: calc(3*var(--unit-size));
padding-top: var(--unit-size); padding-top: var(--unit-size);
border-radius: var(--unit-size); border-radius: 0 0 var(--small-size) var(--small-size);
margin-top: calc(2 * var(--unit-size)); }
margin-right: var(--side-margin); .markd-single {
margin-left: var(--side-margin); border-radius: var(--small-size) !important;
box-shadow: 0px 0px 60px -20px rgba(0, 0, 0, 0.75);
} }
.markd h2 { .markd h2 {

View File

@ -4,7 +4,7 @@
{% block body %} {% block body %}
{{ parent() }} {{ parent() }}
<div class='content'> <div class='content'>
<div class='markd'> <div class='markd markd-single'>
{% block markdown %} {% block markdown %}
{% apply markdown_to_html %} {% apply markdown_to_html %}
## Privacy ## Privacy

View File

@ -4,7 +4,7 @@
{% block body %} {% block body %}
{{ parent() }} {{ parent() }}
<div class='content'> <div class='content'>
<div class='markd'> <div class='markd markd-single'>
{% block markdown %} {% block markdown %}
{% apply markdown_to_html %} {% apply markdown_to_html %}
## Source ## Source

View File

@ -4,7 +4,7 @@
{% block body %} {% block body %}
{{ parent() }} {{ parent() }}
<div class='content'> <div class='content'>
<div class='markd'> <div class='markd markd-single'>
{% block markdown %} {% block markdown %}
{% apply markdown_to_html %} {% apply markdown_to_html %}
## TOS ## TOS

View File

@ -4,7 +4,7 @@
{% block body %} {% block body %}
{{ parent() }} {{ parent() }}
<div class='content'> <div class='content'>
<div class='markd'> <div class='markd markd-single'>
{% block markdown %} {% block markdown %}
{% apply markdown_to_html %} {% apply markdown_to_html %}
## GNU social 3 ## GNU social 3