remove shitty layout, some redesign

This commit is contained in:
Franzi 2021-08-15 07:05:56 +02:00
parent 8b34d55b4c
commit dddc43bf88
7 changed files with 11 additions and 26 deletions

View file

@ -28,3 +28,5 @@ end
# Performance-booster for watching directories on Windows
gem "wdm", "~> 0.1.1", :install_if => Gem.win_platform?
gem "webrick", "~> 1.7"

View file

@ -66,6 +66,7 @@ GEM
tzinfo (>= 1.0.0)
unicode-display_width (1.7.0)
wdm (0.1.1)
webrick (1.7.0)
PLATFORMS
ruby
@ -77,6 +78,7 @@ DEPENDENCIES
tzinfo (~> 1.2)
tzinfo-data
wdm (~> 0.1.1)
webrick (~> 1.7)
BUNDLED WITH
2.2.16

View file

@ -4,19 +4,16 @@
<title>{{ site.title }} {{ page.title }}</title>
<link rel="stylesheet" href="/css/style.css" type="text/css">
{% if page.shittylayout == true %}
<link rel="stylesheet" href="/css/shitty.css" type="text/css">
{% endif %}
{% feed_meta %}
</head>
<body>
<body class="{{ page.body_classes }}">
<a href="#content" id="skip-to-content">Skip to content</a>
<h1>{{ site.header }}</h1>
<nav>
{% for item in site.data.navigation %}
<a href="{{ item.link }}"{% if page.url == item.link %} class="current-page"{% endif %}>{{ item.name }}</a>
{% endfor %}
</nav>
<h1>{{ site.header }}</h1>
<div id="content">
{{ content }}
</div>

View file

@ -1,18 +0,0 @@
---
---
html,
body
background: url('/img/bg.png') #800000;
#content
font-size: 2em
font-family: ComicSans
margin-left: 5em
font-weight: bolder
text-align: center
line-height: 1.2em
footer
border: 1px solid #FFFFFF
background-color: #800000

View file

@ -16,6 +16,10 @@ body
background: black
line-height: 1.5em
.body-small
max-width: 1000px
margin: 0 auto
h1,
h2,
h3
@ -32,7 +36,6 @@ h1
-webkit-text-stroke: 2px #FFFFFF
paint-order: stroke fill
font-size: 8em
margin-left: 1.3em
h2
font-size: 3em
@ -62,7 +65,6 @@ h3
nav
float: left
width: 10em
margin-top: 100px
a
display: block

Binary file not shown.

Before

Width:  |  Height:  |  Size: 331 B

View file

@ -1,7 +1,7 @@
---
title: Home
permalink: /
shittylayout: true
body_classes: body-small
---
<p>Hello,<br>i'm Franziska!</p>