add content backgrounds, add image
parent
eed1457163
commit
fa71e28bf8
Binary file not shown.
After Width: | Height: | Size: 1.1 MiB |
|
@ -29,7 +29,15 @@ h3
|
||||||
|
|
||||||
#website-title
|
#website-title
|
||||||
font-size: 4.5em
|
font-size: 4.5em
|
||||||
|
margin-top: 30px
|
||||||
|
margin-left: 30px
|
||||||
font-family: $website-title-font-stack
|
font-family: $website-title-font-stack
|
||||||
font-weight: bold
|
font-weight: bold
|
||||||
color: $color-white
|
color: $color-white
|
||||||
|
|
||||||
|
.beige-content-block
|
||||||
|
background: $color-beige
|
||||||
|
|
||||||
|
.brown-content-block
|
||||||
|
background: $color-light-brown
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
{{ partial "script.html" . }}
|
{{ partial "script.html" . }}
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div class="grid-container">
|
<div class="grid-container full">
|
||||||
<div class="grid-x">
|
<div class="grid-x">
|
||||||
<div class="cell">
|
<div class="cell">
|
||||||
<p id="website-title">Florian Schrofner</p>
|
<p id="website-title">Florian Schrofner</p>
|
||||||
|
@ -13,15 +13,20 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="grid-x align-center">
|
<div class="grid-x align-center">
|
||||||
<div class="cell large-10">
|
{{ $picture := resources.Get "images/me.png"}}
|
||||||
|
<img src="{{$picture.Permalink}}"/>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="grid-x align-center beige-content-block">
|
||||||
|
<div class="cell large-6">
|
||||||
{{ with .Site.GetPage "/intro" }}
|
{{ with .Site.GetPage "/intro" }}
|
||||||
{{.Content}}
|
{{.Content}}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="grid-x align-center">
|
<div class="grid-x align-center brown-content-block">
|
||||||
<div class="cell large-10">
|
<div class="cell large-6">
|
||||||
{{ with .Site.GetPage "/section" }}
|
{{ with .Site.GetPage "/section" }}
|
||||||
{{.Content}}
|
{{.Content}}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
Loading…
Reference in New Issue