custon font support, dropdown child menu width adjust
This commit is contained in:
parent
f227b897df
commit
bfde1ccdf9
|
@ -2,8 +2,6 @@
|
|||
|
||||
$text-font-stack: BlinkMacSystemFont, -apple-system, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", "Helvetica", "Arial", sans-serif !default;
|
||||
$code-font-stack: Consolas, "Andale Mono WT", "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Liberation Mono", "Nimbus Mono L", Monaco, "Courier New", Courier, monospace !default;
|
||||
$title-font: 'Montserrat', sans-serif;
|
||||
$content-font: 'Merriweather', serif;
|
||||
|
||||
$z-indexes: ("modal", "navbar", "dropdown", "header", "clipboard", "grid", "search-btn", "search", "content", "footer", "taxo", "toc", "gallery-mask");
|
||||
|
||||
|
|
|
@ -89,10 +89,13 @@
|
|||
&-item {
|
||||
padding: 0.25rem 0.75rem;
|
||||
height: 100%;
|
||||
min-width: 40px;
|
||||
max-width: 150px;
|
||||
text-decoration: none;
|
||||
display: block;
|
||||
font-size: 1rem;
|
||||
|
||||
@include truncate(150px);
|
||||
@include themify($themes) {
|
||||
color: themed("dropdown-item-color");
|
||||
@include on-event {
|
||||
|
|
|
@ -245,11 +245,14 @@
|
|||
padding: 0.25rem 0.75rem;
|
||||
height: auto;
|
||||
margin: auto;
|
||||
min-width: 40px;
|
||||
max-width: 150px;
|
||||
text-decoration: none;
|
||||
display: block;
|
||||
font-size: 1rem;
|
||||
font-weight: 700;
|
||||
|
||||
@include truncate(150px);
|
||||
@include themify($themes) {
|
||||
color: themed("dropdown-item-color");
|
||||
@include on-event {
|
||||
|
@ -266,6 +269,8 @@
|
|||
|
||||
@include respond-to(sm) {
|
||||
padding-left: 2.5rem;
|
||||
min-width: 100%;
|
||||
max-width: 100%;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
{"Target":"css/custom.min.css","MediaType":"text/css","Data":{}}
|
File diff suppressed because one or more lines are too long
|
@ -12,13 +12,17 @@
|
|||
{{ if eq $translation.Lang .Lang }}
|
||||
{{ $selected := false }}
|
||||
{{ if eq $pageLang .Lang }}
|
||||
{{ if .LanguageName }}
|
||||
<a href="{{ $translation.Permalink }}" data-lang="{{ .Lang }}" class="dropdown-item is-active">{{ .LanguageName }}</a>
|
||||
{{ end }}
|
||||
{{ else }}
|
||||
{{ if .LanguageName }}
|
||||
<a href="{{ $translation.Permalink }}" data-lang="{{ .Lang }}" class="dropdown-item">{{ .LanguageName }}</a>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
</div>
|
||||
</div>
|
||||
{{ end }}
|
Loading…
Reference in New Issue