Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
hifis.net
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
HIFIS
Overall
hifis.net
Commits
1a857117
Verified
Commit
1a857117
authored
4 years ago
by
Erxleben, Fredo
Committed by
Huste, Tobias
4 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Resolve "Fix transition in title_image.html"
parent
22644500
No related branches found
Branches containing commit
No related tags found
1 merge request
!29
Resolve "Fix transition in title_image.html"
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
_sass/boilerplate/_measurements.scss
+3
-2
3 additions, 2 deletions
_sass/boilerplate/_measurements.scss
_sass/common/_title.scss
+19
-3
19 additions, 3 deletions
_sass/common/_title.scss
with
22 additions
and
5 deletions
_sass/boilerplate/_measurements.scss
+
3
−
2
View file @
1a857117
...
...
@@ -36,8 +36,9 @@ $transition-slope-min-width: 3.65rem; /* ~73px (1) */
/* --- header --- */
$header-content-min-height
:
$logo-min-height
;
$header-min-height
:
$header-content-min-height
+
2
*
$document-top-margin
$header-box-min-height
:
$header-content-min-height
+
2
*
$document-top-margin
;
$header-min-height
:
$header-box-min-height
+
$transition-min-height
;
/* --- Title Image --- */
...
...
This diff is collapsed.
Click to expand it.
_sass/common/_title.scss
+
19
−
3
View file @
1a857117
...
...
@@ -36,7 +36,7 @@ div#title {
content
:
""
;
display
:
block
;
@include
respond-to-medium
(
height
,
$header-
content
-min-height
);
@include
respond-to-medium
(
height
,
$header-
box
-min-height
);
}
img
.bg-jumbotron
{
...
...
@@ -59,7 +59,7 @@ div#title {
}
/*
Place
marg
in
s
large enough to avoid the content hitting
Place
padd
in
g
large enough to avoid the content hitting
the transitions above and below.
*/
padding-top
:
3rem
;
...
...
@@ -88,6 +88,7 @@ div#title {
padding
:
0
;
@include
respond-to-medium
(
height
,
40vh
,
50vh
,
60vh
);
}
h1
{
...
...
@@ -95,7 +96,11 @@ div#title {
@include
respond-to-medium
(
font-size
,
$title-image-text-size
);
/* Make sure the heading gets enough space if the title box is shared */
min-width
:
40%
;
min-width
:
40%
;
/* Reduce the amount of space required for the header part */
margin-bottom
:
0
;
margin-top
:
0
;
}
a
{
...
...
@@ -111,6 +116,17 @@ div#title {
/* Do not apply the mix-blend mode of the parent */
isolation
:
isolate
;
/* Properly overlapping the title content requires some extra work */
position
:
absolute
;
left
:
0
;
/* Rounding by the browser introduces an occasional 1px line
* on bottom and right side. Drag in the transition to prevent this.
*/
bottom
:
-1px
;
right
:
-1px
;
z-index
:
100
;
}
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment