Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions themes/docsmith/layouts/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ <h1 class="h1 text-center library-header">{{ .Title }}</h1>

</div>
</div>
{{ partial "image_banner_alert" . }}
{{ $tiles := where .Site.Pages "Params.show_on_frontpage" true }}
{{ range $i, $section := $tiles }}
{{ if mod (add $i 1) 3 | eq 1 }}<div class="row-tiles">{{ end }}
Expand Down
2 changes: 1 addition & 1 deletion themes/docsmith/layouts/partials/banner_alert.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<div class="alert-banner">
<a href="/docs/security/"><i class="fa fa-exclamation-triangle" aria-hidden="true"></i>Alert</a>
<a href="link-to-dedicated-cpu-blog-post"><i class="fa fa-microchip" aria-hidden="true"></i>Dedicated CPU plans are now available!</a>
</div>
3 changes: 3 additions & 0 deletions themes/docsmith/layouts/partials/image_banner_alert.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<div class="image-alert-banner">
<a href="https://blog.linode.com/2019/02/04/introducing-linode-dedicated-cpu-instances/"><img srcset="/docs/media/images/dedicated-cpu-mobile-library-banner-587w.jpg 587w, /docs/media/images/dedicated-cpu-library-banner-940w.jpg" sizes="(max-width: 587px) 587px, (max-width: 940px) 940px"></a>
</div>
2 changes: 1 addition & 1 deletion themes/docsmith/layouts/partials/includes_head_prod.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<link href="{{ relURL "build/stylesheets/home-27a79e6934.min.css" }}" rel='stylesheet' type='text/css'>
<link href="{{ relURL "build/stylesheets/home-3dcba28308.min.css" }}" rel='stylesheet' type='text/css'>
19 changes: 0 additions & 19 deletions themes/docsmith/static/build/stylesheets/home-27a79e6934.min.css

This file was deleted.

19 changes: 19 additions & 0 deletions themes/docsmith/static/build/stylesheets/home-3dcba28308.min.css

Large diffs are not rendered by default.

23 changes: 23 additions & 0 deletions themes/docsmith/static/build/stylesheets/home.css
Original file line number Diff line number Diff line change
Expand Up @@ -21661,6 +21661,29 @@ blockquote div.btn-copy .glyphicon.glyphicon-copy {
.alert-banner i {
padding: 0 15px;
}
.image-alert-banner {
font-size: 22px;
line-height: 0;
text-align: center;
margin-bottom: 30px;
padding: 0 0;
}
.image-alert-banner a {
font-family: 'Lato', sans-serif;
font-weight: normal;
color: rgba(255, 255, 255, 0.8);
display: block;
}
.image-alert-banner a:hover {
text-decoration: none;
color: #ffffff;
}
.image-alert-banner i {
padding: 0 15px;
}
.image-alert-banner img {
max-width: 100%;
}
/* New Sub Menu */
.sub-menu-wrap {
max-width: 1170px;
Expand Down
6 changes: 3 additions & 3 deletions themes/docsmith/static/build/stylesheets/home.min.css

Large diffs are not rendered by default.

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.