Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Fachgruppenwebseite Metadaten
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
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
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
fginfo
Fachgruppenwebseite Metadaten
Commits
3f268433
Commit
3f268433
authored
3 years ago
by
Jake
Browse files
Options
Downloads
Patches
Plain Diff
added background in mobile menu
parent
7c8d022f
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#185798
passed
3 years ago
Stage: build
Stage: deploy
Changes
2
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
static/style.css
+26
-4
26 additions, 4 deletions
static/style.css
template.html
+1
-0
1 addition, 0 deletions
template.html
with
27 additions
and
4 deletions
static/style.css
+
26
−
4
View file @
3f268433
...
...
@@ -26,6 +26,7 @@ body {
"footer footer footer"
;
justify-items
:
center
;
align-content
:
space-evenly
;
z-index
:
0
;
}
a
{
...
...
@@ -74,8 +75,9 @@ body > header {
align-items
:
center
;
width
:
100%
;
/* Always on Top of Page */
position
:
sticky
;
position
:
fixed
;
top
:
0
;
left
:
0
;
}
#Logo
{
...
...
@@ -123,7 +125,7 @@ body > header > input[type=checkbox]{
display
:
none
;
}
body
>
header
label
{
body
>
header
.show-header-menu
{
display
:
none
;
background-color
:
#f0f0f0
;
-webkit-user-select
:
none
;
/* Safari */
...
...
@@ -131,11 +133,27 @@ body > header label {
-ms-user-select
:
none
;
/* IE10+/Edge */
user-select
:
none
;
/* Standard */
cursor
:
pointer
;
z-index
:
11
;
}
body
>
header
label
:hover
{
body
>
header
.show-header-menu
:hover
{
background-color
:
#e6e6e6
;
/*border-bottom: 0.2em solid #536;*/
}
body
>
header
.show-header-menu-bg
{
position
:
fixed
;
top
:
0
;
left
:
0
;
width
:
100%
;
height
:
100%
;
display
:
none
;
background-color
:
#f0f0f0
;
-webkit-user-select
:
none
;
/* Safari */
-moz-user-select
:
none
;
/* Firefox */
-ms-user-select
:
none
;
/* IE10+/Edge */
user-select
:
none
;
/* Standard */
cursor
:
pointer
;
z-index
:
5
;
}
body
>
footer
{
grid-area
:
footer
;
...
...
@@ -169,8 +187,9 @@ body > footer {
position
:
fixed
;
top
:
0
;
left
:
3em
;
z-index
:
10
;
}
body
>
header
label
{
body
>
header
.show-header-menu
{
display
:
inline-block
;
font-style
:
normal
;
padding
:
1em
;
...
...
@@ -191,6 +210,9 @@ body > footer {
body
>
header
a
:hover
{
border-bottom
:
0.1em
solid
#536
;
}
body
>
header
>
input
[
type
=
checkbox
]
:checked
~
.show-header-menu-bg
{
display
:
block
;
}
body
>
header
>
input
[
type
=
checkbox
]
:checked
~
nav
{
display
:
block
;
}
...
...
This diff is collapsed.
Click to expand it.
template.html
+
1
−
0
View file @
3f268433
...
...
@@ -15,6 +15,7 @@
<header>
<label
for=
"show-header-menu"
class=
"show-header-menu"
>
☰
</label>
<input
type=
"checkbox"
id=
"show-header-menu"
role=
"button"
>
<label
for=
"show-header-menu"
class=
"show-header-menu-bg"
>
</label>
<nav>
<a
href=
"/index.html"
><img
id=
"Logo"
src=
"/resources/assets/banner-logo.png"
alt=
"Home"
/>
<a
href=
"/Über-uns.html"
>
Über uns
</a>
...
...
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