IEEE.org
|
IEEE Xplore Digital Library
|
IEEE Standards
|
IEEE Spectrum
|
More Sites
Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Bit Borealis
Mystic
Commits
d462f916
Verified
Commit
d462f916
authored
Jun 09, 2021
by
Emi Simpson
Browse files
Merge remote-tracking branch 'bit/navbar'
parents
7531515f
85988b5d
Pipeline
#97
canceled with stage
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
mystic/static/styles.css
View file @
d462f916
...
...
@@ -12,12 +12,12 @@ nav {
background-color
:
black
;
height
:
42px
;
display
:
grid
;
grid-template-columns
:
repeat
(
3
,
0
fr
)
1
fr
0
fr
;
grid-template-columns
:
repeat
(
4
,
0
fr
)
1
fr
0
fr
;
grid-gap
:
18px
;
padding-left
:
30px
;
}
nav
a
{
nav
>
*
{
color
:
white
;
text-decoration
:
none
;
font-weight
:
bold
;
...
...
@@ -45,7 +45,7 @@ nav a.selected {
border-top
:
3px
solid
black
;
}
nav
a
:nth-last-child
(
2
)
{
nav
div
.spacer
{
flex-grow
:
1
;
}
...
...
mystic/templates/base.html
View file @
d462f916
...
...
@@ -13,6 +13,7 @@
<a
href=
"/projects"
{%
if
selected
is
sameas
"
projects
"
%}
class=
'selected'
{%
endif
%}
>
PROJECTS
</a>
<a
href=
"/new"
{%
if
selected
is
sameas
"
new
"
%}
class=
'selected'
{%
endif
%}
>
NEW
</a>
<a
href=
"/stats"
{%
if
selected
is
sameas
"
stats
"
%}
class=
'selected'
{%
endif
%}
>
STATS
</a>
<div
class=
"spacer"
></div>
<a
href=
"{{login[1]}}"
{%
if
selected
is
sameas
"
login
"
%}
class=
'selected'
{%
endif
%}
>
{{login[0]}}
</a>
</nav>
<main>
...
...
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