create novinky
This commit is contained in:
@ -149,4 +149,4 @@ p {
|
||||
color: whitesmoke;
|
||||
background-color: transparent;
|
||||
border: 1px solid #734f96;
|
||||
}
|
||||
}
|
||||
|
@ -2,24 +2,26 @@
|
||||
<header>
|
||||
<!-- EOS - logo () -->
|
||||
<div class="logo">
|
||||
<a href="../index.php">
|
||||
<a href="index.php">
|
||||
<img alt="" src="img/EndeavourOS-logo.webp"/>
|
||||
</a>
|
||||
</div>
|
||||
<!-- EOS - navigation -->
|
||||
<nav>
|
||||
<ul>
|
||||
<li><a href="/index.php">Domů</a></li>
|
||||
<li><a href="index.php">Domů</a></li>
|
||||
|
||||
<li>
|
||||
<a href="novinky.php"
|
||||
>Novinky</a
|
||||
>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/wiki/index.php"
|
||||
>Wiki</a
|
||||
>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/novinky/index.php"
|
||||
>Novinky</a
|
||||
>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/clanky/index.php"
|
||||
>Články</a
|
||||
|
157
assets/style.css
157
assets/style.css
@ -1,3 +1,158 @@
|
||||
* {
|
||||
margin: 0;
|
||||
|
||||
padding: 0;
|
||||
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body {
|
||||
max-width: 1600px;
|
||||
margin: 0 auto;
|
||||
font-family: "Ubuntu", sans-serif;
|
||||
}
|
||||
|
||||
/* EOS ( header) */
|
||||
|
||||
header {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
background-color: #313131;
|
||||
height: 70px;
|
||||
flex-direction: row;
|
||||
border-radius: 5px;
|
||||
margin: 7px;
|
||||
}
|
||||
|
||||
.logo {
|
||||
flex-grow: 1;
|
||||
}
|
||||
|
||||
.logo img {
|
||||
width: 150px;
|
||||
margin-left: 40px;
|
||||
}
|
||||
|
||||
/* EOS - navigation */
|
||||
nav {
|
||||
margin-right: 40px;
|
||||
}
|
||||
|
||||
nav li {
|
||||
display: inline-block;
|
||||
list-style-type: none;
|
||||
margin-right: 20px;
|
||||
}
|
||||
|
||||
nav li a {
|
||||
text-decoration: none;
|
||||
color: #734f96;
|
||||
/*border: 1px solid #734f96;*/
|
||||
}
|
||||
|
||||
/* EOS - navigation icons */
|
||||
|
||||
.menu-icon {
|
||||
display: none;
|
||||
margin-right: 30px;
|
||||
}
|
||||
|
||||
.welcome {
|
||||
/*background: url("image/background.webp");*/
|
||||
min-height: calc(100vh - 70px);
|
||||
background-size: cover;
|
||||
/*background-position: center;*/
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
h2 {
|
||||
color: #734f96;
|
||||
margin-top: 50px;
|
||||
margin-bottom: 50px;
|
||||
}
|
||||
|
||||
a {
|
||||
|
||||
color: #734f96;
|
||||
margin-top: 50px;
|
||||
margin-bottom: 50px;
|
||||
|
||||
}
|
||||
|
||||
h4 {
|
||||
color: #734f96;
|
||||
margin-top: 50px;
|
||||
margin-bottom: 50px;
|
||||
}
|
||||
|
||||
.text {
|
||||
color: #734f96;
|
||||
margin-top: 50px;
|
||||
margin-bottom: 50px;
|
||||
}
|
||||
|
||||
p {
|
||||
margin: 10px;
|
||||
}
|
||||
|
||||
.p {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
@media (max-width: 600px) {
|
||||
header {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
header nav {
|
||||
position: absolute;
|
||||
top: 70px;
|
||||
background-color: #313131;
|
||||
width: 100%;
|
||||
display: none;
|
||||
}
|
||||
|
||||
.menu-icon {
|
||||
display: block;
|
||||
color: var(--special-white);
|
||||
font-size: 23px;
|
||||
}
|
||||
|
||||
header nav li {
|
||||
display: block !important;
|
||||
text-align: center;
|
||||
margin-top: 10px;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
}
|
||||
|
||||
/*Code Box*/
|
||||
.code-box {
|
||||
position: relative;
|
||||
width: 500px;
|
||||
height: auto;
|
||||
border: 1px solid #734f96;
|
||||
padding: 5px;
|
||||
overflow: auto;
|
||||
background-color: #734f96;
|
||||
color: black;
|
||||
margin: auto;
|
||||
text-align: left;
|
||||
border-radius: 7px;
|
||||
}
|
||||
|
||||
#copy-button {
|
||||
position: absolute;
|
||||
top: 10px;
|
||||
right: 10px;
|
||||
cursor: pointer;
|
||||
color: whitesmoke;
|
||||
background-color: transparent;
|
||||
border: 1px solid #734f96;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/* EOS - Welcome*/
|
||||
|
||||
|
||||
@ -68,3 +223,5 @@ footer {
|
||||
border-radius: 50%;
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user