Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Sito
poul.org
Commits
fbd01b6c
Verified
Commit
fbd01b6c
authored
Sep 24, 2019
by
Davide Depau
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rotate Leaflet/OSM contributors line
parent
415151df
Pipeline
#77
passed with stage
in 1 minute and 20 seconds
Changes
3
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
2 deletions
+11
-2
assets/css/style.css
assets/css/style.css
+2
-0
assets/scss/_config.scss
assets/scss/_config.scss
+2
-0
assets/scss/breakpoints/_800up.scss
assets/scss/breakpoints/_800up.scss
+7
-2
No files found.
assets/css/style.css
View file @
fbd01b6c
...
...
@@ -12776,6 +12776,8 @@ CONTACT PAGE STYLING
#home-hq-map {
-webkit-clip-path: polygon(0% calc(100vw * 0.052), 100% 0%, 100% calc(100% - calc(100vw * 0.052)), 0% 100%);
clip-path: polygon(0% calc(100vw * 0.052), 100% 0%, 100% calc(100% - calc(100vw * 0.052)), 0% 100%); }
#home-hq-map .leaflet-bottom.leaflet-right {
transform: translateY(calc(calc(100vw * -0.052335956242943835) - 38px)) rotate(-3deg); }
.before-map {
padding-bottom: 35px; }
.before-map p:last-of-type {
...
...
assets/scss/_config.scss
View file @
fbd01b6c
...
...
@@ -68,3 +68,5 @@ $serif: 'IBM Plex Serif', 'Georgia', Times, serif;
$font-weight-bold
:
700
;
$font-size-small
:
1em
;
$rotation
:
-3deg
;
assets/scss/breakpoints/_800up.scss
View file @
fbd01b6c
...
...
@@ -26,7 +26,7 @@ body.sotto-dritto {
position
:
absolute
;
top
:
-2em
;
left
:
0
;
transform
:
skewY
(
-3deg
);
transform
:
skewY
(
$rotation
);
transform-origin
:
bottom
left
;
}
}
...
...
@@ -233,7 +233,7 @@ POST STYLING
position
:
absolute
;
top
:
-2em
;
left
:
0
;
transform
:
skewY
(
-3deg
);
transform
:
skewY
(
$rotation
);
transform-origin
:
bottom
left
;
}
}
...
...
@@ -316,6 +316,11 @@ CONTACT PAGE STYLING
#home-hq-map
{
-webkit-clip-path
:
polygon
(
0%
calc
(
100vw
*
0
.052
)
,
100%
0%
,
100%
calc
(
100%
-
calc
(
100vw
*
0
.052
))
,
0%
100%
);
clip-path
:
polygon
(
0%
calc
(
100vw
*
0
.052
)
,
100%
0%
,
100%
calc
(
100%
-
calc
(
100vw
*
0
.052
))
,
0%
100%
);
.leaflet-bottom.leaflet-right
{
// -0.052335956242943835 == sin(-3deg)
transform
:
translateY
(
calc
(
calc
(
100vw
*
-0
.052335956242943835
)
-
38px
))
rotate
(
$rotation
);
}
}
.before-map
{
...
...
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