summaryrefslogtreecommitdiff
path: root/themes/elenq/static/css/style.css
diff options
context:
space:
mode:
authorEkaitz Zárraga <ekaitz.zarraga@protonmail.com>2019-05-09 15:20:18 +0200
committerEkaitz Zárraga <ekaitz.zarraga@protonmail.com>2019-05-09 15:20:18 +0200
commiteaa28f4d0d366bfec7919a412abf59f627fab3d3 (patch)
treed2f4d873ad7de379e8b39e7f9bebf9e53dc1414d /themes/elenq/static/css/style.css
parentf915227ed354027fea1a4e3cd620016f4e7ae4d6 (diff)
Syntax highlighting on client (optional JS)
Diffstat (limited to 'themes/elenq/static/css/style.css')
-rw-r--r--themes/elenq/static/css/style.css26
1 files changed, 11 insertions, 15 deletions
diff --git a/themes/elenq/static/css/style.css b/themes/elenq/static/css/style.css
index c8efd73..3b52122 100644
--- a/themes/elenq/static/css/style.css
+++ b/themes/elenq/static/css/style.css
@@ -96,7 +96,7 @@ hr.short{
z-index: 99;
border-top: 1px solid #eee;
border-bottom: 1px solid #eee;
- margin-bottom: 3ex;
+ margin-bottom: 6.5rem;
}
.navbar {
width: 100%;
@@ -125,22 +125,9 @@ hr.short{
}
-/* Large devices everything inline and the header floating fixed on top
+/* Large devices everything inline and the header floating
*/
@media (min-width: 801px) {
- .mainheader{
- position: fixed;
- height: 6.5rem;
- }
-
- /* Push content down, because the header is floating over it */
- .content:before{
- display: block;
- content: " ";
- height: 10rem;
- visibility: hidden;
- }
-
.link-right {
margin-left: 15px;
margin-right: 0px;
@@ -348,3 +335,12 @@ li{
font-style: normal;
}
}
+
+
+/* Code rendering
+ */
+pre > code {
+ overflow: auto;
+ border: none;
+ border-radius: 0;
+}