refactor
This commit is contained in:
parent
213a6a9b29
commit
28a86889ce
4 changed files with 45 additions and 48 deletions
|
@ -72,6 +72,48 @@ code {
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#header {
|
||||||
|
border-bottom: double;
|
||||||
|
}
|
||||||
|
|
||||||
|
#header h1{
|
||||||
|
padding-left: 1em;
|
||||||
|
padding-right: 1em;
|
||||||
|
}
|
||||||
|
|
||||||
|
#header ul {
|
||||||
|
background-color: #202020;
|
||||||
|
background-image: url("http://assets.zdenekborovec-dev.cz/common/planks_dark_tile.png");
|
||||||
|
background-repeat: repeat;
|
||||||
|
padding: 0;
|
||||||
|
margin: 0;
|
||||||
|
text-align: center;
|
||||||
|
display: flex;
|
||||||
|
list-style-type: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
#header ul li {
|
||||||
|
float: left;
|
||||||
|
position: relative;
|
||||||
|
flex-grow: 1;
|
||||||
|
border-style: solid;
|
||||||
|
border-width: thin;
|
||||||
|
border-color: black;
|
||||||
|
}
|
||||||
|
|
||||||
|
#header ul li a {
|
||||||
|
color: white;
|
||||||
|
text-decoration: none;
|
||||||
|
font-family: sans-serif;
|
||||||
|
font-weight: bold;
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
|
||||||
|
#footer {
|
||||||
|
border-top: double;
|
||||||
|
padding-bottom: 1em;
|
||||||
|
}
|
||||||
|
|
||||||
.image-container {
|
.image-container {
|
||||||
border-style: solid;
|
border-style: solid;
|
||||||
border-width: thin;
|
border-width: thin;
|
||||||
|
|
|
@ -19,10 +19,3 @@
|
||||||
</main>
|
</main>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
||||||
<style>
|
|
||||||
#footer {
|
|
||||||
border-top: double;
|
|
||||||
padding-bottom: 1em;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
|
|
|
@ -1,51 +1,13 @@
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<link rel="stylesheet" href="http://assets.zdenekborovec-dev.cz/common/styles.css?1703173954">
|
|
||||||
|
|
||||||
<style>
|
|
||||||
#header {
|
|
||||||
border-bottom: double;
|
|
||||||
}
|
|
||||||
|
|
||||||
#header h1{
|
|
||||||
padding-left: 1em;
|
|
||||||
padding-right: 1em;
|
|
||||||
}
|
|
||||||
|
|
||||||
#header ul {
|
|
||||||
background-color: #202020;
|
|
||||||
background-image: url("http://assets.zdenekborovec-dev.cz/common/planks_dark_tile.png");
|
|
||||||
background-repeat: repeat;
|
|
||||||
padding: 0;
|
|
||||||
margin: 0;
|
|
||||||
text-align: center;
|
|
||||||
display: flex;
|
|
||||||
list-style-type: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
#header ul li {
|
|
||||||
float: left;
|
|
||||||
position: relative;
|
|
||||||
flex-grow: 1;
|
|
||||||
border-style: solid;
|
|
||||||
border-width: thin;
|
|
||||||
border-color: black;
|
|
||||||
}
|
|
||||||
|
|
||||||
#header ul li a {
|
|
||||||
color: white;
|
|
||||||
text-decoration: none;
|
|
||||||
font-family: sans-serif;
|
|
||||||
font-weight: bold;
|
|
||||||
display: block;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
|
|
||||||
<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="icon" href="http://www.zdenekborovec-dev.cz/favicon.ico">
|
<link rel="icon" href="http://www.zdenekborovec-dev.cz/favicon.ico">
|
||||||
|
<link rel="stylesheet" href="http://assets.zdenekborovec-dev.cz/common/styles.css?1703173954">
|
||||||
<title><?= isset($PageTitle) ? $PageTitle : "Zdenek Home Page"?></title>
|
<title><?= isset($PageTitle) ? $PageTitle : "Zdenek Home Page"?></title>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
<main>
|
<main>
|
||||||
<div id="header">
|
<div id="header">
|
||||||
|
|
|
@ -14,7 +14,7 @@ include_once($COMMONS."/header.php");
|
||||||
Who am I?
|
Who am I?
|
||||||
</h2>
|
</h2>
|
||||||
<div class="image-container" style="max-width: 20em">
|
<div class="image-container" style="max-width: 20em">
|
||||||
<img src="http://assets.zdenekborovec.cz/upload/1d21313c-ca12-4cdd-8943-a19ef5602a9c/8e34af81-a431-42f3-b984-020fda40498f.png" alt="A photo of me."/>
|
<img src="http://assets.zdenekborovec.cz/upload/1d21313c-ca12-4cdd-8943-a19ef5602a9c/8e34af81-a431-42f3-b984-020fda40498f.png" alt="A photo of me.">
|
||||||
<p>
|
<p>
|
||||||
Me at the start of a walk from Brno to Prague.
|
Me at the start of a walk from Brno to Prague.
|
||||||
</p>
|
</p>
|
||||||
|
|
Loading…
Reference in a new issue