change footer style

This commit is contained in:
liuboaibc 2020-06-20 23:47:57 +08:00
parent 00e7310573
commit f260124398
5 changed files with 9 additions and 24 deletions

View File

@ -1,9 +0,0 @@
@import 'footer';
.footer > .footer-main > .up-main {
.right-div {
& > ul > li {
margin-right: 30px;
}
}
}

View File

@ -86,16 +86,20 @@
}
.right-div {
margin-left: 60px;
width: 732px;
@media only screen and (max-width: $mobile-max-width) {
display: block;
width: 100%;
margin-left: 0px;
}
& > ul {
@media only screen and (max-width: $mobile-max-width) {
justify-content: start;
}
li {
display: inline-block;
margin-right: 60px;
vertical-align: top;
margin-right: 32px;
@media only screen and (max-width: $mobile-max-width) {
margin-top: 20px;

View File

@ -5,11 +5,6 @@
{{ $common := resources.Get "scss/common.scss" | toCSS | minify | fingerprint }}
<link rel="stylesheet" href="{{ $common.Permalink }}">
{{ if eq .Site.Language.Lang "tr" }}
{{ $footer := resources.Get "scss/footer-tr.scss" | toCSS | minify | fingerprint }}
<link rel="stylesheet" href="{{ $footer.Permalink }}">
{{ end }}
{{ if .Params.minCss }}
{{ range (split .Params.minCss ",")}}
<link rel="stylesheet" href="{{ . | absURL }}">
@ -21,11 +16,6 @@
<link rel="stylesheet" href="{{ $style.Permalink }}">
{{ end }}
{{ if eq .Site.Language.Lang "tr" }}
{{ $footer := resources.Get "scss/footer-tr.scss" | toCSS | minify | fingerprint }}
<link rel="stylesheet" href="{{ $footer.Permalink }}">
{{ end }}
{{ if strings.HasSuffix .Permalink "404.html" }}
{{ $style := resources.Get "scss/404.scss" | toCSS | minify | fingerprint }}
<link rel="stylesheet" href="{{ $style.Permalink }}">

View File

@ -20,7 +20,7 @@
<span id="message" data-message1='{{ i18n "email is required" }}' data-message2='{{ i18n "Please enter a valid email address." }}'></span>
</div>
<div class="right-div">
<ul>
<ul class="common-flex-layout">
{{ with $data.footer.footer }}
{{ range .list }}
<li>

View File

@ -1,7 +1,7 @@
<head>
{{ $data := index .Site.Data .Site.Language.Lang }}
<meta charset="utf-8">
<title>{{ .Title }}</title>
<title>{{ with .Params.Title }}{{ . }}{{ else }}{{ with $data.head.title }}{{ . }}{{ end }}{{ end }}</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<meta name="description" content="{{ with .Params.Description }}{{ . }}{{ else }}{{ with $data.head.description }}{{ . }}{{ end }}{{ end }}">