owlcode.tech/public/css/styles.css

292 lines
9.9 KiB
CSS

html {
height: 100%; }
body {
margin: 0;
padding: 0;
overflow: hidden;
min-height: 100%;
width: 100%;
height: 100%; }
body div#first-box.margin {
margin-top: 60px; }
body div.author-text {
font-size: 20px;
display: flex;
justify-content: end; }
body div.padding-side {
padding-left: 1%;
padding-right: 1%; }
body div.padding {
padding: 1%; }
body div.title-image {
position: relative;
max-height: 80vh;
overflow: hidden; }
body div.title-image img {
min-width: 100%; }
body div.title-image div.text-title {
color: coral;
font-size: 3.0vh;
position: absolute;
top: 50%;
left: 50%;
text-shadow: 2px 0 black, -2px 0 black, 0 2px black, 0 -2px black, 1px 1px black, -1px -1px black, 1px -1px black, -1px 1px black;
transform: translate(-50%, -50%); }
body p, body h1, body h2, body h3, body h4, body a {
font-family: 'arial'; }
body div.site-wrapper {
display: table;
width: 100%;
height: 100%;
/* For at least Firefox */
min-height: 100%;
color: #2f4f4f;
background: url(../img/parque_patos.webp);
filter: blur(10px);
background-size: cover;
overflow: hidden; }
body div.page-contents {
position: absolute;
position: fixed;
overflow-y: scroll;
z-index: 2;
background: azure;
color: #666362;
top: 0%;
left: 0%;
height: 100%;
width: 100%; }
body div.page-contents div.child-categories-mobile a {
padding-left: 2.5rem; }
body div.page-contents img {
max-width: 100%;
margin-left: auto;
margin-right: auto;
display: block; }
body div.page-contents table {
color: #5C8CED;
background: azure;
border: 3px solid #5C8CED;
border-collapse: collapse;
width: 100%;
table-layout: fixed; }
body div.page-contents table td, body div.page-contents table th {
font-size: 12px; }
body div.page-contents th, body div.page-contents td {
border: 3px solid #5C8CED;
border-collapse: collapse;
padding-right: 10px;
margin: 0; }
body div.page-contents div.description {
background: azure;
word-wrap: break-word;
margin-bottom: 1%; }
body div.page-contents div.description input {
display: block; }
body div.page-contents div.description div.content {
padding: 1%; }
body div.page-contents div.description div.suscribirse-rss img {
max-height: 300px; }
body div.page-contents div.description div.articles {
display: flex;
flex-direction: row;
flex-wrap: wrap; }
body div.page-contents div.description div.articles div.image-container {
margin-left: 2.5%;
margin-top: 10px;
height: 95%;
width: 95%;
display: flex;
min-height: 130px;
justify-content: center;
align-items: center;
overflow: hidden;
border: solid 1px black; }
body div.page-contents div.description div.articles div.image-container img {
max-width: unset;
width: 100%;
border: solid 1px black; }
body div.page-contents div.description div.articles a {
min-height: 90%;
width: 100%;
display: block;
text-decoration: none;
text-overflow: ellipsis;
margin-bottom: 30px; }
body div.page-contents div.description div.articles a article {
word-wrap: break-word;
width: 90%;
height: 90%;
padding: 5%;
padding-top: 1%;
background: azure;
color: #5C8CED;
box-shadow: 8px 8px 1px 0px #8ddfd6;
border: 3px solid black; }
body div.page-contents div.description div.articles a article p, body div.page-contents div.description div.articles a article h4, body div.page-contents div.description div.articles a article h3, body div.page-contents div.description div.articles a article h2 {
margin: 0px; }
body div.page-contents div.description div.articles a article p {
font-size: 0.9rem; }
body div.page-contents div.description div.articles a article div.article-up-part {
height: 12em; }
body div.page-contents div.description div.articles a article div.article-down-part {
margin-top: 2em;
height: 100px;
display: flex;
align-items: end;
padding-bottom: 2em; }
body div.page-contents div.description div.articles a article:hover {
background: #5C8CED;
color: azure; }
body div.page-contents div.description div.articles a article p.date {
text-align: right; }
body div.page-contents div.description div.articles a article p.author {
text-align: right; }
body div.page-contents div.description a.suscribe-category-rss {
background: #5C8CED;
width: 40px;
height: 40px;
padding: 10px;
border-radius: 5px;
display: inline-block; }
body div.page-contents div.description a.suscribe-category-rss img {
width: 40px;
height: 40px; }
body div.page-contents nav > a.menu-expand > img {
width: 30px;
height: 30px; }
body div.page-contents nav > a > img.index-image-menu {
vertical-align: middle;
width: 50px;
height: 50px; }
body div.page-contents nav.desktop {
display: none;
background: #5C8CED; }
body div.page-contents nav.desktop a {
transition: ease-out 0.3s;
vertical-align: middle;
background: #5C8CED; }
body div.page-contents nav.desktop a img {
background: azure; }
body div.page-contents nav {
overflow: auto;
display: block;
font-size: 25px;
margin: 0px; }
body div.page-contents nav a.go-to-index img {
margin-top: 5%; }
body div.page-contents nav a {
padding-left: 10px;
padding-right: 10px;
height: 100%;
text-decoration: none;
color: azure;
margin: 0; }
body div.page-contents nav a:hover {
background: azure;
color: #5C8CED; }
body div.page-contents nav a.selected {
background: azure;
color: #5C8CED; }
body div.page-contents nav a.menu-expand .open-menu-icon-hover {
display: none; }
body div.page-contents nav a.menu-expand:hover .open-menu-icon-hover {
display: block; }
body div.page-contents nav a.menu-expand:hover .open-menu-icon {
display: none; }
body div.page-contents nav.mobile-shortcuts {
z-index: 1;
position: fixed;
display: flex;
width: 100%;
background: #5C8CED;
height: 60px; }
body div.page-contents nav.mobile-shortcuts a.go-to-index {
height: 100%;
background: azure; }
body div.page-contents nav.mobile-shortcuts a.go-to-index:hover {
background: 'ghostwhite'; }
body div.page-contents nav.mobile-shortcuts a {
width: 60px;
height: 60px; }
body div.page-contents nav.mobile-shortcuts a.menu-expand {
padding-top: calc((60px - 30px) / 2);
padding-bottom: calc((60px - 30px) / 2);
height: 30px; }
body div.page-contents nav.mobile-shortcuts div {
width: calc(100% - 120px); }
body div.page-contents nav.mobile-foldable {
display: none;
background: #5C8CED;
color: azure; }
body div.page-contents nav.mobile-foldable a {
display: flex;
height: 60px;
align-items: center; }
body div.page-contents nav.mobile-foldable.show {
display: block; }
body div.page-contents h1 {
text-align: center; }
body div.page-contents div.footer p, body div.page-contents div.footer h1, body div.page-contents div.footer h2, body div.page-contents div.footer h3, body div.page-contents div.footer h4, body div.page-contents div.footer a {
font-size: initial; }
body div.page-contents div.footer a.suscribe-category-rss {
padding: 7px; }
body div.page-contents div.footer a.suscribe-category-rss, body div.page-contents div.footer a.suscribe-category-rss > img {
width: 20px;
height: 20px; }
@media (min-width: 450px) {
body div.page-contents table th, body div.page-contents table td {
font-size: 20px; } }
@media (min-width: 694px) {
body div.page-contents div.description div.articles a {
width: 45%;
margin-left: 5%; }
body div.page-contents div.description div.articles a:nth-child(2n+1) {
margin-left: 0%; } }
@media (min-width: 1100px) {
body div#first-box.margin {
margin-top: 0px; }
body div.page-contents {
top: 0%;
left: 0%;
height: 100%;
width: 100%; }
body div.page-contents nav.mobile-foldable, body div.page-contents nav.mobile-foldable.show {
display: none; }
body div.page-contents div.description {
margin-top: auto; }
body div.page-contents nav.desktop {
display: block;
height: auto; }
body div.page-contents nav.desktop a {
display: table-cell; }
body div.page-contents nav.desktop a img.index-image-menu {
margin-top: 10px;
margin-bottom: 10px;
padding: 5px;
border-radius: 10px; }
body div.page-contents nav.mobile-shortcuts {
display: none; } }
@media (min-width: 1333px) {
body div.page-contents div.description div.articles a {
width: 30%;
margin-left: 3%; }
body div.page-contents div.description div.articles a:nth-child(2n+1) {
margin-left: 3%; }
body div.page-contents div.description div.articles a:nth-child(3n+1) {
margin-left: 0%; } }
@media (max-aspect-ratio: 3/5) {
body div.title-image div.text-title {
font-size: 1.9vh; } }
@media (min-aspect-ratio: 6/7) {
body div.title-image div.text-title {
font-size: 5vh; } }