diff --git a/public/chapril-banner-v2.css b/public/chapril-banner-v2.css new file mode 100644 index 0000000..9a9e4ec --- /dev/null +++ b/public/chapril-banner-v2.css @@ -0,0 +1,21 @@ +/* 42px: height of the chapril banner */ + +.repository .diff-detail-box.sticky { + top: 42px; /* default value (0) + 42px */ +} + +.ui.attached.header.diff-file-header.sticky-2nd-row { + top: 88px; /* default value (46px) + 42px */ +} + +@media (min-width: 768px) and (max-width: 991px) { + .ui.attached.header.diff-file-header.sticky-2nd-row { + top: 119px; /* default value (77px) + 42px */ + } +} + +@media (max-width: 767px) { + .ui.attached.header.diff-file-header.sticky-2nd-row { + top: 119px; /* default value (77px) + 42px */ + } +} diff --git a/templates/custom/header.tmpl b/templates/custom/header.tmpl index 5b155bb..a021c59 100644 --- a/templates/custom/header.tmpl +++ b/templates/custom/header.tmpl @@ -1 +1,2 @@ +