Commit f46d6df2 authored by Konrad Borowski's avatar Konrad Borowski

Merge branch 'move-block-styles-to-ids' into 'master'

Move block styles to IDs

See merge request pastebin.run/server!64
parents 309238a8 4938340f
Pipeline #91978891 passed with stage
in 22 minutes and 37 seconds
......@@ -7,12 +7,12 @@ body {
font-family: sans-serif;
overflow-wrap: break-word;
}
header {
#header {
background: #dd6;
color: white;
box-shadow: 0 -5px 2px rgba(0, 0, 0, 0.1) inset;
}
header div {
#header div {
margin: 0 auto;
padding: 0 1em;
max-width: 900px;
......@@ -20,21 +20,21 @@ header div {
align-items: center;
justify-content: space-between;
}
header h1 {
#header h1 {
margin: 0;
color: #440;
display: inline-block;
}
header small {
#header small {
opacity: 0.7;
}
header nav {
#header nav {
float: right;
}
header li {
#header li {
display: inline;
}
article {
#article {
margin: 0 auto;
padding: 0 1em;
max-width: 980px;
......
......@@ -8,7 +8,7 @@
<title>pastebin.run</title>
<link rel=stylesheet href="/static/style.css">
<meta name=description content="Pastebin.run is a website for privately storing and sharing text online.">
<header>
<header id=header>
<div>
<a href="/">
<h1>pastebin<small>.run</small></h1>
......@@ -16,4 +16,4 @@
<nav id="menu-buttons"></nav>
</div>
</header>
<article>
<article id=article>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment