Revert "Setup Carbon ads"
And so ends the experiment.
This reverts commit 2e86a91ac7
.
This commit is contained in:
parent
8f4029f5f7
commit
277aea1a3e
|
@ -1,67 +0,0 @@
|
|||
#carbonads {
|
||||
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
|
||||
Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', Helvetica, Arial,
|
||||
sans-serif;
|
||||
}
|
||||
|
||||
#carbonads {
|
||||
display: flex;
|
||||
max-width: 330px;
|
||||
background-color: var(--background-color);
|
||||
box-shadow: 0 1px 4px 1px hsla(0, 0%, 0%, 0.1);
|
||||
}
|
||||
|
||||
#carbonads a {
|
||||
color: inherit;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
#carbonads a:hover {
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
#carbonads span {
|
||||
position: relative;
|
||||
display: block;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
#carbonads .carbon-wrap {
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.carbon-img {
|
||||
display: block;
|
||||
margin: 0;
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
.carbon-img img {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.carbon-text {
|
||||
font-size: 13px;
|
||||
padding: 10px;
|
||||
line-height: 1.5;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.carbon-poweredby {
|
||||
display: block;
|
||||
padding: 8px 10px;
|
||||
background: repeating-linear-gradient(
|
||||
-45deg,
|
||||
transparent,
|
||||
transparent 5px,
|
||||
hsla(0, 0%, 0%, 0.025) 5px,
|
||||
hsla(0, 0%, 0%, 0.025) 10px
|
||||
)
|
||||
hsla(203, 11%, 95%, 0.4);
|
||||
text-align: center;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.5px;
|
||||
font-weight: 600;
|
||||
font-size: 9px;
|
||||
line-height: 1;
|
||||
}
|
|
@ -13,7 +13,6 @@
|
|||
<a class="tag" href="{{ "tags/" | absLangURL }}{{ . | urlize }}" target="_blank">#{{.}}</a>
|
||||
{{ end }}
|
||||
</div>
|
||||
{{ partialCached "carbon.html" . }}
|
||||
{{- with .Content -}}
|
||||
{{ . | replaceRE "(<h[1-2] id=\"([^\"]+)\".+)(</h[1-9]+>)" `<a href="#${2}" class="heading-anchor" ariaLabel="Anchor"> ${1}</a> ${3}` | safeHTML }}
|
||||
{{- end -}}
|
||||
|
|
|
@ -1,3 +0,0 @@
|
|||
<div style="padding: 1em; float: inline-end;">
|
||||
<script async type="text/javascript" src="//cdn.carbonads.com/carbon.js?serve=CE7IT2QM&placement=msfjarvisdev" id="_carbonads_js"></script>
|
||||
</div>
|
|
@ -14,13 +14,11 @@
|
|||
<!-- CSS -->
|
||||
{{ $print := resources.Get "css/print.css" | resources.ExecuteAsTemplate "css/print.css" . | minify | fingerprint }}
|
||||
{{ $fonts := resources.Get "css/fonts.css" | resources.ExecuteAsTemplate "css/fonts.css" . | minify | fingerprint }}
|
||||
{{ $carbon := resources.Get "css/carbon.css" | resources.ExecuteAsTemplate "css/carbon.css" . | minify | fingerprint }}
|
||||
{{ $poole := resources.Get "css/poole.css" | resources.ExecuteAsTemplate "poole.css" . }}
|
||||
{{ $hyde := resources.Get "css/hyde.css" | resources.ExecuteAsTemplate "hyde.css" . }}
|
||||
{{ $syntax := resources.Get "css/syntax.css" | resources.ExecuteAsTemplate "syntax.css" . }}
|
||||
{{ $custom := resources.Get "css/custom.css" | resources.ExecuteAsTemplate "custom.css" . }}
|
||||
{{ $styles := slice $poole $hyde $syntax $custom | resources.Concat "css/styles.css" | minify | fingerprint }}
|
||||
<link rel="stylesheet" href="{{ $carbon.RelPermalink }}" {{ printf "integrity=%q" $carbon.Data.Integrity | safeHTMLAttr }}>
|
||||
<link rel="stylesheet" href="{{ $fonts.RelPermalink }}" {{ printf "integrity=%q" $fonts.Data.Integrity | safeHTMLAttr }}>
|
||||
<link rel="stylesheet" href="{{ $styles.RelPermalink }}" {{ printf "integrity=%q" $styles.Data.Integrity | safeHTMLAttr }}>
|
||||
<link rel="stylesheet" href="{{ $print.RelPermalink }}" {{ printf "integrity=%q" $print.Data.Integrity | safeHTMLAttr }} media="print">
|
||||
|
|
Loading…
Reference in New Issue