Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
H
homepage
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
Container registry
Model registry
Operate
Environments
Monitor
Incidents
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
HOA
homepage
Commits
8c774eb6
Unverified
Commit
8c774eb6
authored
2 years ago
by
Tim
Browse files
Options
Downloads
Patches
Plain Diff
improve display of nav on narrow displays
parent
7284283a
Branches
Branches containing commit
Tags
Tags containing commit
1 merge request
!10
Hoa23
Pipeline
#2563
passed
2 years ago
Stage: deploy
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
theme/sass/hoa.scss
+4
-1
4 additions, 1 deletion
theme/sass/hoa.scss
theme/static/css/hoa.css
+0
-1
0 additions, 1 deletion
theme/static/css/hoa.css
theme/static/css/neutral.css
+0
-1
0 additions, 1 deletion
theme/static/css/neutral.css
with
4 additions
and
3 deletions
theme/sass/hoa.scss
+
4
−
1
View file @
8c774eb6
...
...
@@ -27,6 +27,8 @@ body {
}
header
{
text-align
:
center
;
margin-top
:
2em
;
margin-bottom
:
2em
;
margin-left
:
auto
;
margin-right
:
auto
;
max-width
:
50em
;
...
...
@@ -60,13 +62,14 @@ header {
.nav
li
{
display
:
inline
;
padding-right
:
2em
;
line-height
:
3em
;
}
.nav
li
a
{
color
:
$primary
;
font-size
:
20pt
;
}
.nav
li
a
img
{
height
:
2
8px
;
height
:
2
0pt
;
}
.main
img
{
max-width
:
80vw
;
...
...
This diff is collapsed.
Click to expand it.
theme/static/css/hoa.css
deleted
100644 → 0
+
0
−
1
View file @
7284283a
@font-face
{
font-family
:
"Geo"
;
src
:
url("/static/fonts/Geo-Regular.ttf")
}
@font-face
{
font-family
:
"Fira Sans"
;
src
:
url("/static/fonts/FiraSans-Regular.ttf")
}
body
{
font-family
:
'Geo'
,
sans-serif
;
background
:
#000
;
color
:
#d9d9d9
;
margin-left
:
auto
;
margin-right
:
auto
;
max-width
:
50em
}
#specht
{
max-height
:
50vh
}
.headers
{
font-size
:
28pt
}
header
{
text-align
:
center
;
margin-left
:
auto
;
margin-right
:
auto
;
max-width
:
50em
;
margin-left
:
2em
;
margin-right
:
2em
}
.nav
{
list-style
:
none
}
.main
{
font-family
:
"Fira Sans"
;
font-size
:
16pt
;
margin-left
:
2em
;
margin-right
:
2em
}
.main
h4
{
font-family
:
"Geo"
;
font-size
:
20pt
}
.main
h3
{
font-family
:
"Geo"
;
font-size
:
24pt
}
.main
h2
{
font-family
:
"Geo"
;
font-size
:
28pt
}
.main
a
:link
,
.main
a
:visited
{
color
:
#979797
}
.nav
li
{
display
:
inline
;
padding-right
:
2em
}
.nav
li
a
{
color
:
#d9d9d9
;
font-size
:
20pt
}
.nav
li
a
img
{
height
:
28px
}
.main
img
{
max-width
:
80vw
;
max-height
:
100vh
;
display
:
block
;
margin-left
:
auto
;
margin-right
:
auto
;
margin-top
:
1em
;
margin-bottom
:
1em
}
iframe
{
width
:
400px
;
height
:
300px
;
max-width
:
100%
}
#footnote
{
border-top
:
1px
solid
#d9d9d9
;
padding-top
:
0.5em
;
text-align
:
center
}
ul
{
list-style-type
:
"+ "
;
padding-left
:
21px
}
This diff is collapsed.
Click to expand it.
theme/static/css/neutral.css
deleted
100644 → 0
+
0
−
1
View file @
7284283a
@font-face
{
font-family
:
"Geo"
;
src
:
url("/static/fonts/Geo-Regular.ttf")
}
@font-face
{
font-family
:
"Fira Sans"
;
src
:
url("/static/fonts/FiraSans-Regular.ttf")
}
html
{
min-height
:
100vh
;
background
:
url("/static/img/background.svg")
;
background-attachment
:
fixed
;
font-family
:
'Geo'
,
sans-serif
;
color
:
#c1a92b
}
body
{
margin
:
0
}
#specht
{
height
:
70vh
}
.headers
{
font-size
:
200%
}
.headers
{
position
:
fixed
;
top
:
0px
;
border
:
1px
solid
#555
;
border-top
:
none
;
background-color
:
#000
;
width
:
750px
;
height
:
99px
}
.headers
h1
,
.headers
h3
{
margin-top
:
10px
;
margin-bottom
:
0.3em
}
h2
{
margin-bottom
:
0.6em
}
.nav
{
list-style
:
none
;
margin
:
0
}
.main
{
max-width
:
750px
;
font-family
:
"Fira Sans"
;
font-size
:
130%
}
.main
h4
{
font-family
:
"Geo"
;
font-size
:
120%
}
.main
h3
{
font-family
:
"Geo"
;
font-size
:
180%
}
.main
h2
{
font-family
:
"Geo"
;
font-size
:
240%
}
.main
a
:link
,
.main
a
:visited
{
color
:
#f2da58
}
#top
{
position
:
absolute
}
.nav
li
a
{
color
:
#c1a92b
;
font-size
:
200%
}
.nav
li
a
img
{
height
:
30px
;
margin-bottom
:
-6px
}
iframe
{
width
:
400px
;
height
:
300px
;
max-width
:
100%
}
#footnote
{
border-top
:
1px
solid
#c1a92b
;
padding-top
:
0.5em
;
text-align
:
center
}
@media
(
max-width
:
1009px
){
.main
{
margin
:
0
auto
;
padding-top
:
108px
}
.headers
{
left
:
50%
;
margin-left
:
-375px
}
.nav-container
{
position
:
fixed
;
left
:
50%
;
margin-left
:
-375px
;
max-width
:
750px
;
width
:
750px
;
top
:
100px
;
height
:
40px
;
border
:
1px
solid
#555
;
background-color
:
#000
}
.nav
{
margin
:
auto
auto
;
padding
:
0
}
.nav
li
{
display
:
inline
;
margin
:
0
10px
}
.main
>
div
>
h2
,
.main
>
article
>
div
>
h2
{
padding-top
:
140px
}}
@media
(
max-width
:
749px
){
.main
{
margin
:
0
10px
}
#footnote
{
font-size
:
32px
}}
@media
(
max-width
:
600px
){
body
{
font-size
:
smaller
}
.headers
{
font-size
:
17px
;
height
:
59px
}
.nav-container
{
top
:
60px
;
font-size
:
smaller
;
height
:
30px
;
padding-top
:
3px
}
.main
{
padding-top
:
78px
}
.main
>
div
>
h2
,
.main
>
article
>
div
>
h2
{
padding-top
:
100px
}
.nav
li
a
img
{
height
:
20px
}
ul
{
padding-left
:
17px
!important
}
#footnote
{
font-size
:
19px
}}
@media
(
max-width
:
390px
){
.nav
li
{
margin
:
0
4px
}}
@media
(
min-width
:
1010px
){
.main
{
margin
:
0
0
0
250px
;
padding-top
:
70px
}
.nav
{
position
:
fixed
;
top
:
0
;
left
:
0
}
.headers
{
margin-left
:
250px
}
.nav
{
padding
:
0
;
width
:
250px
;
margin-top
:
50px
}
.nav
li
{
padding
:
1.2em
40px
;
border
:
1px
solid
#555
;
background-color
:
#000
;
margin
:
10px
10px
0
10px
;
max-width
:
190px
}
.main
>
div
>
h2
,
.main
>
article
>
div
>
h2
{
padding-top
:
100px
}}
@media
(
min-width
:
1250px
){
.main
{
margin
:
0
auto
}
.nav
{
left
:
calc
(
50%
-
625px
)}
.headers
{
left
:
50%
;
margin-left
:
-375px
}}
ul
{
list-style-type
:
"+ "
;
padding-left
:
21px
}
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