Added template and css

This commit is contained in:
TillDiem 2021-12-25 21:31:45 +01:00
parent 7abd81ef17
commit 3f606b0ee3
3 changed files with 74 additions and 85 deletions

View File

@ -1,84 +0,0 @@
body {
}
.abstract {
padding: 5px 0px 0px 5px;
}
.button1 {
background-color: white;
color: black;
border: 2px solid white;
/*padding: 7px 16px;*/
text-decoration: none;
font-size: 16px;
cursor: pointer;
float: right;
}
.button1:hover {
background-color: rgba(236, 240, 241, 1);
}
a {
text-decoration: none;
color: darkblue;
}
a.visited {
color: darkblue;
}
h1 {
text-align: center ;
}
h2 {
text-align: left ;
}
footer {
text-align: center ;
}
li{
margin: 0px 0 0 -5px;
}
.mainpart{
margin: auto ;
padding: 50px 0px ;
margin-bottom: 100px ;
max-width: 1000px;
font-size: 14pt;
}
p {
line-height: 1.2;
}
@media only screen and (min-width: 920px) {
/* For tablets: */
li {margin: 0px 0 0 0;}
.mainpart {
font-size: 14pt;
max-width: 1000px;
}
table { border: 2px solid #dddddd;
font-size: 14pt;
}
}
@media only screen and (min-width: 1000px) {
/* For desktop: */
li {margin: 0px 0 0 0;}
.mainpart {font-size: 14pt; }
table { border: 2px solid #dddddd;
font-size: 14pt;
}
}

72
post.css Normal file
View File

@ -0,0 +1,72 @@
header h1 {
font-size: 40px ;
padding-top: 20px;
}
h1:after {
content:' ';
display:block;
border:1px solid rgba(0, 3, 4, 0.1);
border-radius:1px;
-webkit-border-radius:4px;
-moz-border-radius:4px;
box-shadow:inset 0 1px 1px rgba(0, 0, 0, .05);
-webkit-box-shadow:inset 0 1px 1px rgba(0, 0, 0, .05);
-moz-box-shadow:inset 0 1px 1px rgba(0, 0, 0, .05);
width: 98%
}
body {
max-width: 80% ;
margin: auto ;
padding: 0px ;
padding-bottom: 50px;
}
a {
color: blue;
text-decoration: none;}
a:visited{
color: blue;
text-decoration: none;
}
a:hover{
color:grey;
text-decoration: none;
}
pre code {
display: block;
background: none;
white-space: pre;
-webkit-overflow-scrolling: touch;
overflow-x: scroll;
max-width: 100%;
min-width: 100px;
padding: 0;
}
code {
color: darkblue ;
border-radius: 5px ;
}
pre {
background: #dddddd ;
border: 1px solid #ffffff ;
border-radius: 20px ;
padding: 1em ;
white-space: pre-wrap;
overflow-wrap: break-word ;
max-width: 700px ;
margin: auto ;
}
pre {
padding: 1em ;
white-space: pre-wrap;
overflow-wrap: break-word ;
max-width: 700px ;
margin: auto ;
}
.MAIN {
margin: auto ;
text-align: center;
}

View File

@ -1,7 +1,8 @@
<html> <html>
<head> <head>
<meta http-equiv="content-type" content="text/html;charset=utf-8"> <meta http-equiv="content-type" content="text/html;charset=utf-8">
<link rel="stylesheet" href="/blogpost.css" /> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="/post.css" />
<title>mykb - Knowledgebase for Arch Setups</title></head> <title>mykb - Knowledgebase for Arch Setups</title></head>
<body> <body>
<div class="mainpart"> <div class="mainpart">