place carbon ads in docs (#3296)

* place carbon ads in docs

* fix lint

* keep 4 space tabs
pull/3302/head
Ben Phelps 7 months ago committed by GitHub
parent bfd392026d
commit 2c68f1e7ee
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -0,0 +1,9 @@
{% extends "base.html" %}
{% block content %}
{% include "partials/content.html" %}
<hr/>
<div style="margin: 0 auto; max-width: 400px; margin-top: 40px;">
<script async type="text/javascript" src="//cdn.carbonads.com/carbon.js?serve=CWYIL2JU&placement=gethomepagedev&format=cover" id="_carbonads_js"></script>
</div>
{% endblock %}

@ -22,3 +22,11 @@
#glimeRoot * { #glimeRoot * {
font-family: var(--md-text-font) !important; font-family: var(--md-text-font) !important;
} }
#carbon-responsive {
--carbon-padding: 1em;
--carbon-max-char: 20ch;
--carbon-bg-primary: var(--md-default-bg-color) !important;
--carbon-bg-secondary: var(--md-default-fg-color--lightest) !important;
--carbon-text-color: var(--md-typeset-color) !important;
}

@ -166,6 +166,7 @@ nav:
theme: theme:
name: material name: material
custom_dir: docs/overrides
language: en language: en
palette: palette:
- media: "(prefers-color-scheme)" - media: "(prefers-color-scheme)"

Loading…
Cancel
Save