Commit 1b470511 authored by Jacek Lebioda's avatar Jacek Lebioda
Browse files

Responsive header

parent 7e83116a
......@@ -4,7 +4,7 @@
{%- assign default_paths = site.pages | map: "path" -%}
{%- assign page_paths = site.header_pages | default: default_paths -%}
<div class="custom-header" style="border-bottom: solid 1px #777">
<div class="custom-header">
<img class="img-uni-lu"
src="{{ '/assets/banners/uni-logo.svg' | relative_url }}"
type="image/svg+xml"
......
......@@ -171,6 +171,7 @@ pre {
.main {
max-width: $content-width;
min-width: 480px;
margin-right: auto;
margin-left: auto;
......
......@@ -57,7 +57,8 @@
@include media-query($on-palm) {
position: absolute;
top: 9px;
right: $spacing-unit / 2;
// right: $spacing-unit / 2;
right: -20px;
background-color: $background-color;
border: 1px solid $grey-color-light;
border-radius: 5px;
......
.img-lcsb {
bottom: -15px;
float: right;
margin-right: 1%;
.custom-header {
border-bottom: solid 1pt #777;
min-width: 480px;
}
// Uni-lu image ============================================================================
.img-uni-lu {
bottom: -2px;
border: solid 1pt #777;
border-bottom: solid 4px white;
border-radius: 14px 14px 0 0;
margin-left: 8%;
padding: 1% 2% 0px 2%;
position: relative;
}
@media (max-width: 600px) {
.img-uni-lu {
margin-left: 1%;
width: 80px;
}
}
// Banner ==================================================================================
.img-banner {
bottom: -10px;
margin-left: 3%;
position: relative;
width: 40%
width: 40%;
}
.img-uni-lu {
bottom: -2px;
border: solid 1px #777;
border-bottom: solid 4px white;
border-radius: 14px 14px 0 0;
margin-left: 8%;
padding: 1% 2% 0px 2%;
@media (max-width: 600px) {
.img-banner {
margin-left: 1%;
width: 50%;
}
}
// LCSB image ==============================================================================
.img-lcsb {
bottom: -15px;
float: right;
margin-right: 1%;
position: relative;
}
\ No newline at end of file
}
@media (max-width: 600px) {
.img-lcsb {
margin-right: 1%;
width: 120px;
bottom: -8px;
}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment