@import "vars.scss";
html { height: 100%; }
body{
color: $black;
background-color: $white;
font-family: $font1;
height: 100%;
}
#wrapper {
position: relative;
padding: 0px;
min-height: 100%;
min-height: calc( 100% + 3em );
}
#sidebar{
background: url('../img/fondo_aside_sm.png') repeat;
position: absolute;
left: 0;
right: auto;
top: 0;
width: 25%;
min-height: 100%;
min-width: 300px;
max-width: 350px;
padding-left: 8px;
padding-right: 8px;
color: $white;
a{
color: $white;
text-decoration: none;
}
a:hover{
border-color: $accent1;
color: $accent1;
}
footer { font-size: 0.8em; }
}
#menu { display: none; }
#site-title{
font-family: $font2;
font-size: 2em;
@include transition;
&:hover{
color: $accent1;
}
img { width: 60px; }
}
#site-desc{
font-size: 1.3em;
padding: 0 6px;
}
#post-container{
position: relative;
margin-left: 28%;
padding-top: 0.1em;
max-width: 800px;
overflow-wrap: break-word;
}
.nav-links{
list-style: none;
padding: 0;
font-family: $font2;
font-size: 1em;
font-variant: bold;
li{
margin: 12px 12px;
}
a{
display: block;
line-height: 1.2em;
@include transition;
}
a:hover{
border-color: $accent1;
color: $accent1;
}
}
#post-list{
list-style: none;
}
.post-entry{
margin: 3em 0;
}
#post-list li:first-child .post-entry { margin-top: 0px; }
.entry-header{
font-family: $font2;
font-variant: bold;
a{
color: $black;
text-decoration: none;
}
a:hover{
color: $accent1;
text-decoration: none;
}
time{
color: $gray;
}
h1{
margin: 0.5em 0;
}
}
.post-content{
a{
color: $accent1;
}
img{
display: block;
margin: 0 auto;
max-width: 80%;
}
blockquote{
font-style: italic;
}
pre{
font-size: 13px;
background-color: $prebg;
padding: 10px;
margin: 10px;
overflow: auto;
font-family: $font3;
}
}
.post-meta{
a{
font-style: italic;
color: $accent1;
}
}
.paginator{
text-align: center;
padding: 12px;
font-size: 1.4em;
font-family: $font2;
a{
color: $black;
text-decoration: none;
&:hover{
color: $accent1;
}
}
}
.figure,
figure {
text-align: center;
.caption,
figcaption {
font-size: 0.7em;
font-style: italic;
}
}
ul.gallery {
display: block;
padding: 0;
margin: 0;
}
ul.gallery > li {
list-style: outside none none;
display: inline-block;
padding: 5px;
img {
max-width: 100%;
}
}
.footer {
display: none;
width: 100%;
background-color: #939393;
color: #454545;
padding: 0.3em;
}
/* lightbox */
#imagelightbox {
position: fixed;
z-index: 9999;
-ms-touch-action: none;
touch-action: none;
}
@media only screen and (max-width: 1000px) {
#sidebar { min-width: 235px; }
#site-title h1{ font-size: 1.3em; }
#site-title img { width: 40px; }
#site-desc{ font-size: 1em; }
}
@media only screen and (min-width: 801px) {
.submenu {
background-color: black;
background-image: none;
margin: 0px;
height: 0px;
overflow: hidden;
position: absolute;
@include transition;
}
li:hover > .submenu {
height: auto;
border-left: 4px solid $accent1;
border-bottom: 1px solid $accent1;
@include transition;
}
}
@media only screen and (max-width: 800px) {
/* Style adjustments for viewports that meet the condition */
#wrapper {
position: relative;
padding: 0px;
margin-top: 0px;
}
#sidebar{
background: #000 none;
position: static;
width: 100%;
max-width: none;
padding: 0;
}
#post-container{
width: 100%;
position: static;
margin: 0;
padding: 0px;
}
#post-list{
padding: 0;
}
.nav-links{
text-align: center;
padding: 0;
font-size: 1.8em;
li{
display: block;
margin-top: 6px;
}
a{
display: inline-block;
}
.submenu { margin: 0px; padding: 0px;}
.submenu li { margin: 12px 0px 0px 0px; }
}
#site-title h1{
margin-top: 0;
margin-bottom: 0px;
}
#site-desc{ padding-bottom: 1em;}
#site-header{
margin-left: 18px;
}
.side-shadow {
-webkit-box-shadow: 0 3px 12px 3px $gray;
-moz-box-shadow: 0 3px 12px 3px $gray;
box-shadow: 0 3px 12px 3px $gray;
}
.post-entry{
padding: 0 12px;
}
.footer { display: block; }
.hide-sm { display: none; }
#menu {
display: block;
font-size: 2em;
position: absolute;
right: 0px;
top: 0px;
z-index: 1000;
padding: 0.6em;
}
}
@media only screen and (max-width: 640px) {
#nav-links{
font-size: 1.1em;
}
#site-info{
font-size: 0.6em;
}
}