Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
SWIFTweb
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
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
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
SWIFT
SWIFTweb
Commits
83119a55
Commit
83119a55
authored
7 years ago
by
Josh Borrow
Browse files
Options
Downloads
Patches
Plain Diff
added navbar and header styling
parent
1c024965
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
design/about.css
+42
-4
42 additions, 4 deletions
design/about.css
design/about.haml
+14
-8
14 additions, 8 deletions
design/about.haml
design/stylesheet.css
+30
-0
30 additions, 0 deletions
design/stylesheet.css
with
86 additions
and
12 deletions
design/about.css
+
42
−
4
View file @
83119a55
...
...
@@ -4,31 +4,69 @@ html, body {
.container
{
max-width
:
80em
;
margin
:
auto
;
margin
:
1em
auto
;
}
/* Header Styles */
.header
{
padding
:
1em
;
width
:
100%
;
color
:
white
;
text-align
:
center
;
background-image
:
url(cover.jpg)
;
background-size
:
cover
;
}
.header-content
img
{
max-width
:
80%
;
max-height
:
15%
;
}
/* Navbar Styles */
.nav
{
width
:
100%
;
padding
:
0
;
border-radius
:
4px
;
background-color
:
#222
;
display
:
flex
;
justify-content
:
space-between
;
}
.nav
ul
{
list-style
:
none
;
padding-left
:
0
;
padding
:
0
;
margin
:
0
;
}
.nav
ul
li
{
display
:
inline-block
;
padding
:
1em
;
margin
:
0
;
display
:
block
;
float
:
left
;
/* Remove awful extra whitespace between ul items */
}
.nav
ul
li
a
{
color
:
white
;
text-decoration
:
none
;
}
/* We only want a border on all but the last element to act as a separator */
.rightborder
{
border-right
:
1px
solid
white
;
}
.active
{
font-weight
:
bold
;
}
.code
{
border-top-right-radius
:
4px
;
border-bottom-right-radius
:
4px
;
}
/* Just in case flex is not working */
...
...
This diff is collapsed.
Click to expand it.
design/about.haml
+
14
−
8
View file @
83119a55
...
...
@@ -4,25 +4,31 @@
%head
%link
{
:rel
=>
:stylesheet
,
:type
=>
:"text/css"
,
:href
=>
"stylesheet.css"
}
%link
{
:rel
=>
:stylesheet
,
:type
=>
:"text/css"
,
:href
=>
"about.css"
}
%link
{
href:
"https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css"
,
rel:
"stylesheet"
,
integrity:
"sha384-wvfXpqpZZVQGK6TAh5PVlGOfQNHSoD2xbE+QkPxCAFlNEevoEH3Sl0sibVcOQVnN"
,
crossorigin:
"anonymous"
}
%body
.header
.header-content
%
h1
SWIFT
%h
2
About SWIFT
%
img
{
:src
=>
"logo.svg"
}
%h
1
.subhead
<b>
S
</b>
PH
<b>
W
</b>
ith
<b>
I
</b>
nter-dependent
<b>
F
</b>
ine-grained
<b>
T
</b>
asking
.container
.nav
.nav
.mono
.left-nav
%ul
%li
About
%li
Papers
%li
Talks
%li
Contact
%li
.rightborder.active
%a
About
%li
.rightborder
%a
Papers
%li
.rightborder
%a
Talks
%li
%a
Contact
.right-nav
%ul
%li
Code
%li
.btn-orange.code
%a
<i
class=
"fa fa-gitlab"
aria-hidden=
"true"
></i>
Code
.cards
.card
...
...
This diff is collapsed.
Click to expand it.
design/stylesheet.css
+
30
−
0
View file @
83119a55
...
...
@@ -55,4 +55,34 @@ footer > a > img, .footer > a > img {
float
:
left
;
padding
:
1em
;
padding-right
:
0
;
}
/* Font Styles */
body
{
font-family
:
-apple-system
,
BlinkMacSystemFont
,
'avenir next'
,
avenir
,
helvetica
,
'helvetica neue'
,
ubuntu
,
roboto
,
noto
,
'segoe ui'
,
arial
,
sans-serif
;
}
h1
,
h2
,
h3
,
h4
,
h5
,
h6
{
font-family
:
Inconsolata
,
monospace
;
}
.mono
{
font-family
:
Inconsolata
,
monospace
;
}
.subhead
{
font-weight
:
normal
;
}
/* Shared navbar styles */
.nav
ul
li
a
:hover
{
font-weight
:
bold
;
}
\ No newline at end of file
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