зеркало из https://github.com/Azure/AppService.git
Update home layout to decrease font size
This commit is contained in:
Родитель
008581c5e3
Коммит
14eafbfd73
|
@ -7,6 +7,8 @@ main:
|
|||
|
||||
# Default sidebar links
|
||||
default:
|
||||
- title: "Home"
|
||||
url: "/"
|
||||
- title: "Product Areas"
|
||||
children:
|
||||
- title: "Networking"
|
||||
|
|
|
@ -3,7 +3,9 @@ layout: archive
|
|||
---
|
||||
|
||||
{% if paginator.page == 1 %}
|
||||
{{ content }}
|
||||
<div class="home-content">
|
||||
{{ content }}
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
<h3 class="archive__subtitle">{{ site.data.ui-text[site.locale].recent_posts | default: "Recent Posts" }}</h3>
|
||||
|
|
|
@ -16,6 +16,10 @@
|
|||
width: calc(100% - #{$right-sidebar-width});
|
||||
padding-right: $right-sidebar-width;
|
||||
}
|
||||
|
||||
.home-content {
|
||||
font-size: .80rem;
|
||||
}
|
||||
}
|
||||
|
||||
.archive__item {
|
||||
|
|
|
@ -75,7 +75,7 @@
|
|||
p,
|
||||
li,
|
||||
dl {
|
||||
font-size: 0.80em;
|
||||
font-size: 0.80rem;
|
||||
}
|
||||
|
||||
/* paragraph indents */
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
layout: home
|
||||
sidebar:
|
||||
nav: "default"
|
||||
title: none
|
||||
title: Home
|
||||
pagination:
|
||||
enabled: true
|
||||
sort_reverse: true
|
||||
|
|
Загрузка…
Ссылка в новой задаче