added some style

This commit is contained in:
/dev/urandom 2020-03-13 16:06:12 +03:00
parent 4a971e13d2
commit e62c3cd9d1
3 changed files with 41 additions and 2 deletions

View file

@ -1,3 +1,5 @@
-include Makefile.pwd
OUTDIR=out OUTDIR=out
PAGEDIR=pages PAGEDIR=pages
SRCDIR=src SRCDIR=src
@ -14,7 +16,7 @@ OUT_STATIC = $(patsubst static/%,out/%,$(_STATIC))
.SUFFIXES: .SUFFIXES:
.PHONY: all .PHONY: all upload
all: $(PAGES_HTML) $(OUT_STATIC) all: $(PAGES_HTML) $(OUT_STATIC)

View file

@ -11,3 +11,33 @@ body {
margin: auto; margin: auto;
min-height: 100%; min-height: 100%;
} }
body a {
color: #204a87;
}
body a:visited {
color: #5c3566;
}
.header {
background: #2e3436;
color: #eeeeec;
font-family: sans-serif;
min-height: 1px;
}
.header a, .header a:visited {
color: white;
}
.header h2, .header h3 {
display: inline-block;
}
.footer {
background: #d3d7cf;
color: #555753;
font-family: sans-serif:
font-size: 0.8em;
}

View file

@ -7,6 +7,13 @@
<link href="/style.css" rel="stylesheet" type="text/css" media="all"> <link href="/style.css" rel="stylesheet" type="text/css" media="all">
</head> </head>
<body> <body>
<?theme body?> <div class="header">
<h2><a href="/">rnd's website</a> | </h2><h3><?theme title?></h3>
</div>
<div class="content">
<?theme body?>
</div>
<div class="footer">
</div>
</body> </body>
</html> </html>