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;
|
||||
}
|
||||
|
||||
#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 {
|
||||
border-style: solid;
|
||||
border-width: thin;
|
||||
|
|
|
@ -19,10 +19,3 @@
|
|||
</main>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
<style>
|
||||
#footer {
|
||||
border-top: double;
|
||||
padding-bottom: 1em;
|
||||
}
|
||||
</style>
|
||||
|
|
|
@ -1,51 +1,13 @@
|
|||
<!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>
|
||||
<head>
|
||||
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
|
||||
<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>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<main>
|
||||
<div id="header">
|
||||
|
|
|
@ -14,7 +14,7 @@ include_once($COMMONS."/header.php");
|
|||
Who am I?
|
||||
</h2>
|
||||
<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>
|
||||
Me at the start of a walk from Brno to Prague.
|
||||
</p>
|
||||
|
|
Loading…
Reference in a new issue