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
1503ac26
Verified
Commit
1503ac26
authored
Jul 17, 2019
by
Aral Balkan
Browse files
Like the index responsiveness
parent
ed3ba7e7
Changes
3
Hide whitespace changes
Inline
Side-by-side
layouts/_default/index.html
View file @
1503ac26
...
...
@@ -2,8 +2,8 @@
<main
id=
"content"
>
<div
class=
"feature"
>
<img
class=
'header-image'
src=
'images/index-header
.jpe
g'
>
<
!-- <h1><span class='title-small-tech'>Small Technology</span> <span
class='title-foundation'>Foundation</
span></h1> --
>
<img
class=
'header-image'
src=
'images/index-header
-tighter-crop.pn
g'
>
<
h1
class=
'title-foundation'
>
Foundation
</
h1
>
</div>
{{ .Content }}
...
...
themes/small-tech/static/images/index-header-tighter-crop.png
0 → 100644
View file @
1503ac26
This image diff could not be displayed because it is too large. You can
view the blob
instead.
themes/small-tech/static/style.css
View file @
1503ac26
...
...
@@ -322,7 +322,7 @@ main * {
}
.home
.feature
{
padding
:
0.5em
0
0
;
/*
padding: 0.5em 0 0;
*/
position
:
relative
;
/* enable positioning on pseudo selectors */
}
...
...
@@ -345,15 +345,35 @@ main * {
grid-column: 17 / 20;
} */
.home
.feature
{
background-color
:
#AFE1E8
;
margin-top
:
0
;
}
.header-image
{
grid-column
:
1
/
20
;
width
:
100%
;
margin-top
:
-2vw
;
}
/* xxx */
.feature
.title-foundation
{
display
:
block
;
padding-bottom
:
0
;
margin-bottom
:
0
;
width
:
100%
;
text-align
:
center
;
position
:
absolute
;
grid-column
:
1
/
20
;
bottom
:
20%
;
font-size
:
8vw
;
text-transform
:
capitalize
;
font-weight
:
400
;
padding
:
0
;
margin
:
0
;
z-index
:
-1
;
color
:
#154652
;
}
.subtitle
{
...
...
@@ -361,7 +381,7 @@ main * {
grid-column
:
2
/
19
;
/* centred */
display
:
grid
;
grid-template-columns
:
var
(
--grid-columns-17-cols
);
margin
:
1em
0
1
.5em
0
;
margin
:
1em
0.5em
;
padding
:
1.5em
0
;
z-index
:
2
;
/* pull in front of feature */
}
...
...
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