[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
Signed by untrusted user: someonewithpc
GPG Key ID: 7D0C7EAFC9D835A0
5 changed files with 20 additions and 17 deletions

View File

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

View File

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

View File

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

View File

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

View File

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