burguillos.info/public/css/styles.scss

701 lines
13 KiB
SCSS
Raw Normal View History

2023-08-25 17:36:00 +02:00
$background: antiquewhite;
$background-page: #FEFEFA;
2022-11-09 13:31:58 +01:00
$color: #2f4f4f;
$color-page: #666362;
2022-11-09 22:35:48 +01:00
$background_div: blueviolet;
$color_div: #f2eb8c;
2022-11-09 13:31:58 +01:00
$background-secondary: #635283;
$color-secondary: #8eea6d;
$accent-secondary: #fde68f;
$primary-secondary: #590e11;
2022-11-11 01:09:16 +01:00
2022-11-09 13:31:58 +01:00
html {
2023-05-07 05:15:22 +02:00
height: 100%;
2022-11-09 13:31:58 +01:00
}
body {
2023-09-04 01:23:27 +02:00
div.search-overlay {
2023-09-04 15:49:54 +02:00
overflow-y: scroll;
2023-09-04 01:23:27 +02:00
display: none;
position: fixed;
height: 100%;
width: 100%;
background: white;
2023-09-04 01:23:27 +02:00
z-index: 3;
top: 0;
flex-direction: column;
2023-09-04 01:23:27 +02:00
&.active {
display: flex;
}
div.search-results {
margin: 7px;
2023-09-08 03:03:52 +02:00
img {
width: 75px;
}
div.search-result {
div.row-title-url-image {
display: flex;
flex-direction: row;
img {
margin: 10px;
}
}
}
}
2023-09-04 01:23:27 +02:00
div.bounding-search-bar {
margin: 7px;
width: calc(100% - 20px);
border-radius: 10px;
height: 60px;
display: flex;
div.search {
width: calc(100% - 60px);
height: 60px;
margin-left: 0px;
margin-right: 0px;
}
div.up,div.down {
display: none;
}
2023-09-04 01:23:27 +02:00
a.exit-search {
width: 60px;
background: whitesmoke;
height: 60px;
display: flex;
justify-content: center;
align-items: center;
img {
width: 60%;
}
}
}
}
div.search {
background: whitesmoke;
margin-left: 10px;
margin-right: 10px;
2023-09-04 01:23:27 +02:00
display: flex;
div.search-icon,div.down,div.up {
height: calc(100% - 28px);
display: flex;
background: aliceblue;
align-items: center;
margin: 7px;
padding: 7px;
border-radius: 10px;
border: solid gray 1px;
aspect-ratio: 1/1;
img {
height: 80%;
}
}
div.down,div.up {
margin: 0px;
align-self: center;
}
2023-09-04 01:23:27 +02:00
div.fake-text-box {
width: calc(100% - 60px);
display: flex;
align-items: center;
input[type="text"] {
font-size: 30px;
width: 100%;
height: 70%;
background: none;
border: none;
outline: none;
}
}
}
2023-05-07 05:15:22 +02:00
p, h1, h2, h3, h4, a {
font-family: 'arial';
}
2023-08-29 23:52:07 +02:00
*.android {
2023-08-30 23:46:49 +02:00
display: none;
2023-08-29 23:52:07 +02:00
}
2023-05-07 05:15:22 +02:00
margin: 0;
padding: 0;
overflow: hidden;
min-height: 100%;
width: 100%;
height: 100%;
div.site-wrapper {
display: table;
width: 100%;
height: 100%;
/* For at least Firefox */
min-height: 100%;
color: $color;
background: $background;
filter: blur(10px);
background-size: cover;
overflow: hidden;
}
2023-08-21 00:58:11 +02:00
div.carousel {
position: fixed;
top: 80%;
2023-08-21 14:10:18 +02:00
height: calc(20% - 6px);
width: calc(100% - 6px);
border: solid 3px black;
2023-08-30 23:46:49 +02:00
2023-08-21 00:58:11 +02:00
a {
2023-08-30 23:46:49 +02:00
font-size: 13px;
background: $color_div;
color: $background_div;
display: flex;
text-align: center;
justify-content: space-between;
align-items: center;
height: 100%;
text-decoration: none;
&:hover, &:focus {
background: $background_div;
color: $color_div;
}
2023-08-21 00:58:11 +02:00
}
2023-08-30 23:46:49 +02:00
div.promoted-tag, h3 {
margin: 0;
margin-right: 5px;
2023-08-21 00:58:11 +02:00
}
2023-08-30 23:46:49 +02:00
2023-08-21 00:58:11 +02:00
img {
2023-08-30 23:46:49 +02:00
margin: 10px;
height: calc(100% - 20px);
border: solid 1px black;
background: white;
2023-08-21 00:58:11 +02:00
}
}
div.none {
display: none;
}
div.complete-container {
2023-05-07 05:15:22 +02:00
position: fixed;
z-index: 2;
color: $color-page;
top: 0%;
left: 0%;
height: 100%;
2023-08-21 00:58:11 +02:00
width: 100%;
}
2023-05-07 05:15:22 +02:00
div.page-contents.no-carousel {
2023-08-30 23:46:49 +02:00
height: calc(100% - 60px);
}
2023-08-30 23:46:49 +02:00
nav {
overflow: auto;
display: block;
font-size: 25px;
margin: 0px;
2023-08-28 23:41:18 +02:00
2023-08-30 23:46:49 +02:00
a.go-to-index img {}
2023-08-28 23:41:18 +02:00
2023-08-30 23:46:49 +02:00
a {
padding-left: 10px;
padding-right: 10px;
height: 100%;
text-decoration: none;
color: $color_div;
margin: 0;
2023-08-28 23:41:18 +02:00
2023-09-03 12:17:32 +02:00
background: $background_div;
2023-08-30 23:46:49 +02:00
&:hover, &:focus {
background: $color_div;
color: $background_div;
2023-08-28 23:41:18 +02:00
}
2023-08-30 23:46:49 +02:00
&.selected {
background: $background-page;
color: $background_div;
border-right: 1px solid $background_div;
2023-08-28 23:41:18 +02:00
}
}
2023-08-30 23:46:49 +02:00
}
2023-08-28 23:41:18 +02:00
2023-08-30 23:46:49 +02:00
nav.desktop {
display: none;
2023-08-28 23:41:18 +02:00
2023-08-30 23:46:49 +02:00
a {
vertical-align: middle;
2023-08-28 23:41:18 +02:00
}
2023-09-08 01:43:38 +02:00
a.search-icon {
width: 60px;
height: 60px;
display: flex;
align-items: center;
justify-content: center;
img {
background: aliceblue;
border-radius: 10px;
padding: 10%;
width: 60%;
height: 60%;
}
}
2023-08-30 23:46:49 +02:00
}
nav.mobile-foldable {
display: none;
background: $background_div;
color: $color_div;
2023-08-28 23:41:18 +02:00
2023-08-30 23:46:49 +02:00
a {
//background: $color_div;
//color: $background_div;
2023-08-28 23:41:18 +02:00
display: block;
2023-08-30 23:46:49 +02:00
}
}
nav.mobile-foldable.show {
display: block;
}
2023-08-28 23:41:18 +02:00
nav.mobile-shortcuts > a {
2023-08-30 23:46:49 +02:00
display: flex;
2023-08-28 23:41:18 +02:00
align-items: center;
justify-content: center;
}
2023-08-30 23:46:49 +02:00
a.menu-expand {
padding-bottom: 9px;
2023-08-28 23:41:18 +02:00
2023-08-30 23:46:49 +02:00
.open-menu-icon-hover {
display: none;
}
2023-08-28 23:41:18 +02:00
2023-08-30 23:46:49 +02:00
&:hover, &:focus {
.open-menu-icon-hover {
display: block;
2023-08-28 23:41:18 +02:00
}
2023-08-30 23:46:49 +02:00
.open-menu-icon {
display: none;
}
2023-08-28 23:41:18 +02:00
}
2023-08-30 23:46:49 +02:00
}
2023-08-28 23:41:18 +02:00
2023-08-30 23:46:49 +02:00
nav > a.menu-expand > img {
width: 30px;
height: 30px;
}
2023-08-28 23:41:18 +02:00
2023-08-30 23:46:49 +02:00
nav > a > img.index-image-menu {
vertical-align: middle;
width: 40px;
height: 40px;
}
nav > a > img.index-image-menu, div.burguillos-logo-container > img {
transition-property: transform;
transition-duration: 2s;
transition-delay: 2s;
2023-08-28 23:41:18 +02:00
}
2023-08-30 23:46:49 +02:00
nav > a:hover > img.index-image-menu,
div.burguillos-logo-container.active > img {
transform: rotate(-1.5707963268rad);
}
2023-08-28 23:41:18 +02:00
nav.mobile-shortcuts {
2023-08-30 23:46:49 +02:00
position: fixed;
display: flex;
align-items: center;
2023-08-30 23:46:49 +02:00
width: 100%;
background: $background_div;
height: 60px;
top: 0%;
2023-08-28 23:41:18 +02:00
2023-08-30 23:46:49 +02:00
a {
height: 100%;
width: (100% / 6);
padding-left: 0;
padding-top: 0;
padding-right: 0;
padding-bottom: 0;
}
2023-08-28 23:41:18 +02:00
div.search {
width: calc(100% * 4 / 6 - 20px);
height: 80%;
border-radius: 10px;
2023-08-30 23:46:49 +02:00
}
2023-08-28 23:41:18 +02:00
}
2023-08-21 00:58:11 +02:00
div.page-contents {
2023-08-25 17:22:32 +02:00
background: $background-page;
2023-08-21 00:58:11 +02:00
position: fixed;
top: 60px;
height: calc(80% - 60px);
width: 100%;
2023-08-21 00:58:11 +02:00
overflow-y: scroll;
2023-08-30 23:46:49 +02:00
2023-05-07 05:15:22 +02:00
div.child-categories-mobile a {
padding-left: 2.5rem;
}
img {
2023-09-08 03:03:52 +02:00
max-width: 100%;
2023-05-07 05:15:22 +02:00
margin-left: auto;
margin-right: auto;
display: block;
}
table {
color: $background_div;
background: $color_div;
border: 3px solid $background_div;
border-collapse: collapse;
width: 100%;
td, th {
2023-05-07 23:42:34 +02:00
font-size: 12px;
2023-05-07 05:15:22 +02:00
}
table-layout: fixed;
}
th, td {
border: 3px solid $background_div;
border-collapse: collapse;
padding-right: 10px;
margin: 0;
}
div.description {
input {
display: block;
}
word-wrap: break-word;
div.suscribirse-rss {
img {
max-height: 300px;
2023-05-03 00:07:43 +02:00
}
2023-05-07 05:15:22 +02:00
}
padding: 1%;
margin-left: 3%;
margin-right: 3%;
margin-bottom: 1%;
div.articles {
display: flex;
flex-direction: row;
flex-wrap: wrap;
div.image-container {
2023-08-30 23:46:49 +02:00
margin-left: 2.5%;
margin-top: 10px;
height: 95%;
width: 95%;
display: flex;
min-height: 130px;
justify-content: center;
align-items: center;
img {
background: white;
max-height: 100%;
max-width: 100%;
border: solid 1px black;
}
2023-05-07 05:15:22 +02:00
}
2022-11-09 13:31:58 +01:00
2023-05-07 05:15:22 +02:00
a {
2023-08-30 23:46:49 +02:00
min-height: 90%;
width: 100%;
display: block;
text-decoration: none;
text-overflow: ellipsis;
margin-bottom: 30px;
&:focus, &:hover {
//outline: red solid 3px;
article {
background: $background_div;
color: $color_div;
}
}
article {
2023-05-07 05:15:22 +02:00
word-wrap: break-word;
width: 90%;
height: 90%;
p, h4, h3, h2 {
margin: 0px;
}
2023-08-30 23:46:49 +02:00
2023-05-07 05:15:22 +02:00
p {
2023-08-30 23:46:49 +02:00
font-size: 0.9rem;
2023-05-07 05:15:22 +02:00
}
div.article-up-part {
2023-08-30 23:46:49 +02:00
height: 12em;
2023-05-07 05:15:22 +02:00
}
div.article-down-part {
2023-08-30 23:46:49 +02:00
margin-top: 2em;
height: 9em;
display: flex;
align-items: end;
padding-bottom: 2em;
2023-05-07 05:15:22 +02:00
}
padding: 5%;
padding-top: 1%;
background: $color_div;
color: $background_div;
box-shadow: 8px 8px 1px 0px #8ddfd6;
border: 3px solid black;
&:hover {
background: $background_div;
color: $color_div;
}
p.date {
text-align: right;
}
p.author {
text-align: right;
}
}
}
}
a.suscribe-category-rss {
background: $background_div;
width: 40px;
height: 40px;
padding: 10px;
border-radius: 5px;
display: inline-block;
img {
width: 40px;
height: 40px;
}
}
}
2023-08-30 23:46:49 +02:00
div.open-browser-container {
display: flex;
justify-content: start;
width: 100%;
margin-left: 0px;
margin-right: 0px;
2023-08-30 23:59:34 +02:00
padding-left: 0px;
padding-right: 0px;
2023-08-30 23:46:49 +02:00
background: $color_div;
color: $background_div;
2023-08-23 16:34:12 +02:00
2023-08-30 23:46:49 +02:00
a.open-in-browser {
text-decoration: none;
display: flex;
justify-content: space-between;
2023-08-30 23:47:37 +02:00
width: calc(100% - 20px);
2023-08-30 23:46:49 +02:00
align-items: center;
margin-left: 10px;
margin-right: 10px;
img {
display: block;
height: 2rem;
width: 2rem;
margin-right: 0px;
margin-left: 0px;
}
2023-08-30 23:46:49 +02:00
span {
display: block;
}
}
}
div.open-browser-container.android {
display: none;
}
2023-08-25 05:21:54 +02:00
div.easter-egg {
2023-08-30 23:46:49 +02:00
display: flex;
justify-content: center;
2023-08-25 05:21:54 +02:00
}
div.burguillos-logo-container.active {
2023-08-30 23:46:49 +02:00
border: solid 1px black;
border-radius: 50%;
filter: invert(1);
2023-08-25 05:21:54 +02:00
}
div.burguillos-logo-container {
2023-08-30 23:46:49 +02:00
padding: 40px;
width: 120px;
}
2023-08-30 23:46:49 +02:00
div.burguillos-logo-container.active img {}
2023-05-07 05:15:22 +02:00
h1 {
text-align: center;
}
div.footer {
p, h1, h2, h3, h4, a {
font-size: initial;
}
a.suscribe-category-rss {
padding: 7px;
}
a.suscribe-category-rss, a.suscribe-category-rss > img {
width: 20px;
height: 20px;
}
}
}
2022-11-09 13:31:58 +01:00
}
2023-05-05 16:42:46 +02:00
@media (min-width: 450px) {
2023-05-07 05:15:22 +02:00
body {
div.page-contents {
table {
th, td {
font-size: 20px;
2023-05-05 16:42:46 +02:00
}
2023-05-07 05:15:22 +02:00
}
2023-05-05 16:42:46 +02:00
}
2023-05-07 05:15:22 +02:00
}
2023-05-05 16:42:46 +02:00
}
2023-08-30 23:46:49 +02:00
@media (min-width: 694px) {
body {
2023-09-07 02:03:57 +02:00
div.carousel {
a {
font-size: 20px;
}
h3 {
font-size: 25px;
}
}
div.page-contents {
div.description {
div.articles {
a {
&:nth-child(2n+1) {
2023-08-30 23:46:49 +02:00
margin-left: 0%;
}
2023-08-30 23:46:49 +02:00
width: 45%;
margin-left: 5%;
}
}
}
2023-09-08 03:03:52 +02:00
img {
max-width: 694px;
}
}
}
}
2023-05-05 16:42:46 +02:00
@media (min-width: 1100px) {
2023-05-07 05:15:22 +02:00
body {
2023-08-28 23:41:18 +02:00
nav.mobile-shortcuts {
display: none;
}
2023-08-30 23:46:49 +02:00
2023-05-07 05:15:22 +02:00
div.page-contents {
nav.mobile-foldable, nav.mobile-foldable.show {
display: none;
}
2023-09-08 03:03:52 +02:00
div.description.open-browser-container {
margin-left: 0;
margin-right: 0;
}
2023-05-07 05:15:22 +02:00
div.description {
margin-left: 10%;
margin-right: 10%;
}
nav.desktop {
display: block;
height: auto;
2023-08-23 16:34:12 +02:00
height: 60px;
2023-05-07 05:15:22 +02:00
a {
display: table-cell;
2023-08-23 16:34:12 +02:00
height: 60px;
2023-05-07 05:15:22 +02:00
img.index-image-menu {
2023-08-23 16:34:12 +02:00
height: 40px;
width: 40px;
2023-05-07 05:15:22 +02:00
}
}
}
top: 0%;
left: 5%;
2023-08-22 00:31:51 +02:00
height: 80%;
width: 90%;
border: solid 1px black;
2023-08-22 00:31:51 +02:00
}
2023-08-30 23:46:49 +02:00
2023-08-22 00:31:51 +02:00
div.page-contents.no-carousel {
2023-05-07 05:15:22 +02:00
height: 100%;
}
}
}
@media (min-width: 1333px) {
body {
div.page-contents {
div.description {
div.articles {
a {
&:nth-child(2n+1) {
2023-08-30 23:46:49 +02:00
margin-left: 3%;
}
2023-08-30 23:46:49 +02:00
&:nth-child(3n+1) {
2023-08-30 23:46:49 +02:00
margin-left: 0%;
}
2023-08-30 23:46:49 +02:00
2023-05-07 05:15:22 +02:00
width: 30%;
margin-left: 3%;
}
}
}
}
}
2022-11-09 13:31:58 +01:00
}
2023-09-07 02:03:57 +02:00
@media (max-width: 200px) {
body {
font-size: 20px;
}
}
2023-09-10 12:42:29 +02:00
@media (max-height: 400px) {
body {
div.carousel {
height: 120px;
top: calc(100% - 120px);
}
2023-09-10 12:45:47 +02:00
div.page-contents {
height: calc(100% - 60px - 120px);
}
2023-09-10 12:42:29 +02:00
}
}