testing-docs.cz/style.css

187 lines
2.8 KiB
CSS

:root {
--special_black: rgb(11, 2, 2);
--special_white: white;
--special_grey: grey;
--special_black_original: black;
}
nav {
display: flex;
padding: 10px;
gap: 2rem;
/* justify-content: center; */
}
.menu {
display: flex;
justify-content: center;
}
/* Body */
body {
background-color: var(--special_black);
color: var(--special_white);
width: calc(100% - 32px);
max-width: 1200px;
margin: auto;
}
@media screen and (max-width: 600px) {
body {
width: calc(100% - 16px);
}
}
.menu-item {
display: inline-block;
width: 200px;
height: 20px;
/* position: static;
text-align: center; */
}
@media screen and (max-width: 600px) {
.menu {
text-align: center;
}
}
.flexbox {
display: flex;
}
.navigation {
flex: 1;
/* margin: 0px 0px 0px 50px; */
padding: 25px;
/* margin-top: 20px; */
}
.content {
flex: 3;
margin-bottom: 25px;
}
@media screen and (max-width: 600px) {
/* Nastavení sloupcu na sloupce mobil */
.flexbox {
flex-direction: column;
}
/* ˇPořadí zobrazení */
.navigation {
order: -1;
align-self: center;
}
/* škrývání */
/* .navigation:hover .dropdown-content {
display: block;
} */
/* roletka posuvník */
/* .dropdown-content {
overflow: auto; */
/* max-height: 100px; or any other value */
.content {
order: 1;
padding: 15px;
}
}
.articles {
margin: 0px 50px 0px 0px;
margin-top: 25px;
}
/* Namobilu nezobrazí articles */
@media screen and (max-width: 600px) {
.articles {
display: none;
}
}
footer {
position: fixed;
bottom: 0;
}
.big-text {
font-size: 40px;
text-align: center;
}
h1 {
font-family: cursive;
margin: 0px 0px 0px 30px;
transition: color 0.5s ease;
}
/* Změna barvy */
h1:hover {
color: red;
}
h2 {
font-family: cursive;
margin: 0px 0px 0px 30px;
}
/*.link-white*/
.button-navigace {
color: var(--special_white);
}
td,
th {
border: 1px solid var(--special_white);
padding: 10px;
}
.code-box {
border: 1px solid var(--special_white);
padding: 10px;
background-color: var(--special_grey);
font-family: monospace;
color: var(--special_black_original);
font-weight: bold;
border-radius: 8px;
}
.not-dot {
list-style-type: none;
}
.link {
color: var(--special_white);
/*cursor: unset;*/
}
.strong-text {
font-weight: bold;
}
.link-black {
color: var(--special_black_original);
}
/* Změna barvy písma */
.button {
color: var(--special_white);
transition: color 0.5s ease;
}
.button:hover {
color: red;
}
/* Zvětšení písma odkazu */
/* .button {
transition: font-size 0.3s ease;
}
.button:hover {
font-size: 25px;
} */