Fix some CSS issues

This commit is contained in:
Alexis Tacnet
2017-05-05 18:28:43 +02:00
parent 9b4e3dba09
commit f58f9b969e
2 changed files with 7 additions and 8 deletions

View File

@@ -1,6 +1,6 @@
@font-face { @font-face {
font-family: 'Nexa Bold'; font-family: 'Nexa Bold';
src: url('/fonts/Nexa Bold.otf'); src: url('{{ .Site.BaseURL }}fonts/Nexa Bold.otf');
} }
html, body, div, span, applet, object, iframe, html, body, div, span, applet, object, iframe,
@@ -495,12 +495,6 @@ section.main .content .markdown pre {
word-break: break-all; word-break: break-all;
word-wrap: break-word; word-wrap: break-word;
} }
@media (min-width: 769px) {
section.main .content .markdown pre {
width: 110%;
margin-left: -4%;
}
}
section.main .content .markdown pre code { section.main .content .markdown pre code {
/* enclosed by 4 backticks (````) */ /* enclosed by 4 backticks (````) */
padding: 0; padding: 0;
@@ -625,6 +619,7 @@ section.main .content .navigation {
-moz-align-items: center; -moz-align-items: center;
-ms-align-items: center; -ms-align-items: center;
align-items: center; align-items: center;
padding: 2em;
} }
section.main .content .navigation div { section.main .content .navigation div {
display: -webkit-flex; display: -webkit-flex;
@@ -648,7 +643,7 @@ section.main .content .navigation .icon {
} }
section.main .content .navigation a { section.main .content .navigation a {
width: 250px; width: 250px;
margin-left: 1em; margin: 0 1em;
text-align: center; text-align: center;
font-style: italic; font-style: italic;
color: #313537; color: #313537;

View File

@@ -7,3 +7,7 @@ max-width: 110%;
width: 110%; width: 110%;
margin-left: -4%; margin-left: -4%;
} }
section.main .content .markdown pre {
width: 110%;
margin-left: -4%;
}