Commit 4c20ec44 authored by Carl Schwan's avatar Carl Schwan

Fix layout issues on mobile

parent 9d327eb9
......@@ -157,7 +157,13 @@ a.icon {
right: 0;
color: #7f8c8d;
}
.intend:before {
@media (max-width: 950px) {
.intend {
position: static;
}
}
.intend p:before {
content: "For "
}
......@@ -167,9 +173,6 @@ a.icon {
}
.available {
position: absolute;
top: 30px;
right: 0;
color: #da4453;
}
......@@ -225,40 +228,44 @@ a.icon {
/*
* Add more spacing and a 1px seperator between sections */
div[itemprop="articleBody"] .section:not(:first-of-type) {
margin-top: 20px;
padding-top: 20px;
margin-top: 20px;
padding-top: 20px;
}
div[itemprop="articleBody"] > .section > .section:not(:first-of-type) {
border-top: 1px solid #bdc3c7;
margin-top: 30px;
padding-top: 30px;
border-top: 1px solid #bdc3c7;
margin-top: 30px;
padding-top: 30px;
}
/* Increase font sized to have more visual difference */
h1 {
font-size: 300%;
margin-bottom: 8px;
font-weight: normal;
font-size: 300%;
margin-bottom: 8px;
font-weight: normal;
}
h2 {
font-size: 240%;
margin-bottom: 8px;
font-weight: normal;
font-size: 240%;
margin-bottom: 8px;
font-weight: normal;
}
h3 {
font-size: 180%;
margin-bottom: 8px;
font-weight: normal;
font-size: 180%;
margin-bottom: 8px;
font-weight: normal;
}
h4 {
font-size: 140%;
margin-bottom: 8px;
font-weight: normal;
font-size: 140%;
margin-bottom: 8px;
font-weight: normal;
}
h5 {
font-size: 120%;
margin-bottom: 10px;
font-weight: normal;
font-size: 120%;
margin-bottom: 10px;
font-weight: normal;
}
.rst-content img, video, audio {
height: auto !important;
max-width: 100%;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment