1
0
Fork 0

add content backgrounds, add image

master
Florian Schrofner 4 years ago
parent eed1457163
commit fa71e28bf8
  1. BIN
      assets/images/me.png
  2. 8
      assets/sass/main.sass
  3. 13
      layouts/index.html

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 MiB

@ -29,7 +29,15 @@ h3
#website-title
font-size: 4.5em
margin-top: 30px
margin-left: 30px
font-family: $website-title-font-stack
font-weight: bold
color: $color-white
.beige-content-block
background: $color-beige
.brown-content-block
background: $color-light-brown

@ -5,7 +5,7 @@
{{ partial "script.html" . }}
</head>
<body>
<div class="grid-container">
<div class="grid-container full">
<div class="grid-x">
<div class="cell">
<p id="website-title">Florian Schrofner</p>
@ -13,15 +13,20 @@
</div>
<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" }}
{{.Content}}
{{ end }}
</div>
</div>
<div class="grid-x align-center">
<div class="cell large-10">
<div class="grid-x align-center brown-content-block">
<div class="cell large-6">
{{ with .Site.GetPage "/section" }}
{{.Content}}
{{ end }}

Loading…
Cancel
Save