Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content

Commit f9a0485

Browse files
committed
[bug] fix header border filling full width
1 parent d5e0f3b commit f9a0485

3 files changed

Lines changed: 13 additions & 5 deletions

File tree

css/base.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
--font-fjalla: "Fjalla One Regular", sans-serif;
5757
--header-area-width: 100%;
5858
--header-shade-color: transparent;
59-
--header-shade-opacity: none;
59+
--header-shade-opacity: 0.95;
6060
--header-search-width: 0%;
6161
--header-border-top: 0;
6262
--header-border-bottom: 0;

css/header.css

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,21 +48,29 @@
4848
animation: none;
4949
}
5050

51+
.is-header-border-top .header-shade {
52+
border-top: calc(var(--line-width) * var(--header-border-top)) solid rgb(var(--theme-accent));
53+
}
54+
55+
.is-header-border-bottom .header-shade {
56+
border-bottom: calc(var(--line-width) * var(--header-border-bottom)) solid rgb(var(--theme-accent));
57+
}
58+
5159
.header-area {
5260
padding: calc(var(--gutter) * var(--layout-padding-multiplier));
5361
position: relative;
5462
width: var(--header-area-width);
5563
}
5664

5765
.is-header-border-top .header-area {
58-
border-top: calc(var(--line-width) * var(--header-border-top)) solid rgb(var(--theme-accent));
66+
border-top: calc(var(--line-width) * var(--header-border-top)) solid transparent;
5967
}
6068

6169
.is-header-border-bottom .header-area {
62-
border-bottom: calc(var(--line-width) * var(--header-border-bottom)) solid rgb(var(--theme-accent));
70+
border-bottom: calc(var(--line-width) * var(--header-border-bottom)) solid transparent;
6371
}
6472

65-
.is-header-radius .header-area {
73+
.is-header-radius .header-shade {
6674
border-radius: calc(var(--theme-radius) * 4);
6775
}
6876

js/version.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
var version = (function() {
22

33
// version is normally bumped when the state needs changing or any new functionality is added
4-
var current = "3.10.0";
4+
var current = "3.10.1";
55

66
var compare = function(a, b) {
77
var pa = a.split(".");

0 commit comments

Comments
 (0)