Updated CSS and refined width-logic
This commit is contained in:
parent
7cb7fc284c
commit
88ed5a0bef
@ -7,11 +7,9 @@
|
||||
{{ partial "head.html" . }}
|
||||
</head>
|
||||
<body class="">
|
||||
{{ if eq $.Site.Params.themeWidth "full" }}
|
||||
<div class="container full">
|
||||
{{ else }}
|
||||
<div class="container half">
|
||||
{{ end }}
|
||||
{{ $container := cond $.Site.Params.FullWidthTheme "container full" (cond $.Site.Params.CenterTheme "container center" "container") }}
|
||||
|
||||
<div class="{{- $container -}}">
|
||||
|
||||
{{ partial "header.html" . }}
|
||||
|
||||
|
@ -228,14 +228,19 @@ ol ol {
|
||||
@media (--phone) {
|
||||
padding: 20px;
|
||||
}
|
||||
|
||||
}
|
||||
.full {
|
||||
border-right: none;
|
||||
margin: auto;
|
||||
&.full,
|
||||
&.center {
|
||||
border: none;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.half {border-right: 1px solid rgba(255, 255, 255, .1);}
|
||||
&.full {
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user