Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Small Technology Foundation web site
site
Commits
f112d198
Verified
Commit
f112d198
authored
Jul 17, 2019
by
Aral Balkan
Browse files
Nav on top, subtitle in paragraph text under feature
parent
9bfc1459
Changes
3
Hide whitespace changes
Inline
Side-by-side
layouts/_default/baseof.html
View file @
f112d198
...
...
@@ -19,6 +19,10 @@
<header>
<!-- <h2 class='site-title'><a href='{{ .Site.BaseURL }}'><img src='' alt='{{ .Site.Title }}'></a></h2> -->
<div
class=
'collapsed-nav'
>
= Menu
</div>
{{ block "navigation" . }}
{{ partial "navigation.html" .}}
{{ end }}
</header>
{{ block "main" . }}{{ end }}
...
...
layouts/_default/index.html
View file @
f112d198
...
...
@@ -6,12 +6,6 @@
<h1
class=
'title-foundation'
>
Foundation
</h1>
</div>
<div
class=
'collapsed-nav'
>
= Menu
</div>
{{ block "navigation" . }}
{{ partial "navigation.html" .}}
{{ end }}
{{ .Content }}
</main>
...
...
themes/small-tech/static/style.css
View file @
f112d198
...
...
@@ -265,7 +265,7 @@ header * {
nav
{
/* grid-column: 4 / 19; */
margin
:
0
.5em
auto
;
margin
:
0
auto
;
}
nav
ul
{
...
...
@@ -347,7 +347,7 @@ main * {
.home
.feature
{
background-color
:
#AFE1E8
;
margin-top
:
4vw
;
margin-top
:
0
;
}
.header-image
{
...
...
@@ -386,9 +386,10 @@ main * {
.subtitle
{
background
:
#76BCC7
;
font-size
:
1em
;
margin-left
:
-2em
;
margin-right
:
-2em
;
padding
:
2em
;
margin-top
:
1.5em
;
margin-left
:
-1.5em
;
margin-right
:
-1.5em
;
padding
:
1.5em
;
/* grid-column: 2 / 19; */
/* centred */
/* display: grid;
grid-template-columns: var(--grid-columns-17-cols); */
...
...
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