Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
core-services
jekyll-theme-lcsb-default
Commits
1b470511
Commit
1b470511
authored
Mar 22, 2018
by
Jacek Lebioda
Browse files
Responsive header
parent
7e83116a
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
_includes/header.html
View file @
1b470511
...
...
@@ -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"
...
...
_sass/minima/_base.scss
View file @
1b470511
...
...
@@ -171,6 +171,7 @@ pre {
.main
{
max-width
:
$content-width
;
min-width
:
480px
;
margin-right
:
auto
;
margin-left
:
auto
;
...
...
_sass/minima/_layout.scss
View file @
1b470511
...
...
@@ -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
;
...
...
_sass/minima/_lcsb.scss
View file @
1b470511
.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
;
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment