mirror of
https://github.com/msfjarvis/msfjarvis.dev.git
synced 2024-06-03 04:18:56 +05:30
Merge pull request #44 from kentnek/kent-raw-html
This commit is contained in:
commit
081033d71f
|
@ -1,5 +1,6 @@
|
||||||
@import '../main';
|
@import '../main';
|
||||||
@import '../partials/github-syntax-highlighting';
|
@import '../partials/github-syntax-highlighting';
|
||||||
|
@import '../partials/colors';
|
||||||
|
|
||||||
.post {
|
.post {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
@ -236,3 +237,18 @@ footer {
|
||||||
margin: 1.5rem auto !important;
|
margin: 1.5rem auto !important;
|
||||||
width: 375px !important;
|
width: 375px !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
table {
|
||||||
|
max-width: 100%;
|
||||||
|
border-spacing: 0;
|
||||||
|
|
||||||
|
thead {
|
||||||
|
background: $lightGrey;
|
||||||
|
}
|
||||||
|
|
||||||
|
th,
|
||||||
|
td {
|
||||||
|
padding: 0.5em 1em;
|
||||||
|
border: 1px double $greyTableBorder;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
$black: #111;
|
$black: #111;
|
||||||
|
$lightGrey: #F7F7F7;
|
||||||
|
$greyTableBorder: #EEEEEE;
|
||||||
$grey: #9B9B9B;
|
$grey: #9B9B9B;
|
||||||
$darkGrey: #717171;
|
$darkGrey: #717171;
|
||||||
$white: #fff;
|
$white: #fff;
|
||||||
|
|
|
@ -72,11 +72,34 @@ ol {
|
||||||
}
|
}
|
||||||
|
|
||||||
blockquote {
|
blockquote {
|
||||||
|
&::before {
|
||||||
|
position: absolute;
|
||||||
|
content: '\201C';
|
||||||
|
|
||||||
|
font-size: 6em;
|
||||||
|
font-family: 'Roboto', serif;
|
||||||
|
margin-top: 0.10em;;
|
||||||
|
margin-left: -0.2em;
|
||||||
|
|
||||||
|
z-index: -1;
|
||||||
|
color: darken($white, 7%);
|
||||||
|
}
|
||||||
|
|
||||||
margin-top: $leading;
|
margin-top: $leading;
|
||||||
margin-bottom: $leading;
|
margin-bottom: $leading;
|
||||||
line-height: $leading;
|
line-height: $leading;
|
||||||
color: $darkGrey;
|
color: $black;
|
||||||
font-style: italic;
|
|
||||||
|
cite {
|
||||||
|
&::before {
|
||||||
|
content: "— "
|
||||||
|
}
|
||||||
|
|
||||||
|
font-style: italic;
|
||||||
|
font-size: .95em;
|
||||||
|
color: $darkGrey;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
pre {
|
pre {
|
||||||
|
@ -117,3 +140,7 @@ pre code {
|
||||||
.lead {
|
.lead {
|
||||||
font-size: $scale * 1rem;
|
font-size: $scale * 1rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
abbr[title] {
|
||||||
|
text-decoration: underline double;
|
||||||
|
}
|
||||||
|
|
|
@ -41,6 +41,10 @@ themesDir = "../../"
|
||||||
[markup]
|
[markup]
|
||||||
[markup.highlight]
|
[markup.highlight]
|
||||||
codeFences = false
|
codeFences = false
|
||||||
|
|
||||||
|
# Set to false to disallow raw HTML in markdown files
|
||||||
|
[markup.goldmark.renderer]
|
||||||
|
unsafe = true
|
||||||
|
|
||||||
# Controls the navigation
|
# Controls the navigation
|
||||||
[[menu.main]]
|
[[menu.main]]
|
||||||
|
|
|
@ -38,6 +38,14 @@ The blockquote element represents content that is quoted from another source, op
|
||||||
> Tiam, ad mint andaepu dandae nostion secatur sequo quae.
|
> Tiam, ad mint andaepu dandae nostion secatur sequo quae.
|
||||||
> **Note** that you can use *Markdown syntax* within a blockquote.
|
> **Note** that you can use *Markdown syntax* within a blockquote.
|
||||||
|
|
||||||
|
#### Blockquote with attribution
|
||||||
|
|
||||||
|
> Simplicity is the ultimate sophistication.
|
||||||
|
> <cite>Leonardo da Vinci[^1]</cite>
|
||||||
|
|
||||||
|
[^1]: The above quote is often attributed to Leonardo da Vinci but there is no concrete evidence to support this.
|
||||||
|
|
||||||
|
|
||||||
## Tables
|
## Tables
|
||||||
|
|
||||||
Tables aren't part of the core Markdown spec, but Hugo supports supports them out-of-the-box.
|
Tables aren't part of the core Markdown spec, but Hugo supports supports them out-of-the-box.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user