1
0
Fork 0
bascht.com/static/css/bascht.com.css

397 lines
8.5 KiB
CSS

@font-face{
font-family: 'Fira Sans';
src: url('../fonts/eot/FiraSans-Light.eot');
src: local('Fira Sans Light'),
url('../fonts/eot/FiraSans-Light.eot') format('embedded-opentype'),
url('../fonts/woff/FiraSans-Light.woff') format('woff'),
url('../fonts/ttf/FiraSans-Light.ttf') format('truetype');
font-weight: 300;
font-style: normal;
}
@font-face{
font-family: 'Fira Sans';
src: url('../fonts/eot/FiraSans-Regular.eot');
src: local('Fira Sans Regular'),
url('../fonts/eot/FiraSans-Regular.eot') format('embedded-opentype'),
url('../fonts/woff/FiraSans-Regular.woff') format('woff'),
url('../fonts/ttf/FiraSans-Regular.ttf') format('truetype');
font-weight: 400;
font-style: normal;
}
@font-face{
font-family: 'Fira Sans';
src: url('../fonts/eot/FiraSans-Italic.eot');
src: local('Fira Sans Regular Italic'),
url('../fonts/eot/FiraSans-Italic.eot') format('embedded-opentype'),
url('../fonts/woff/FiraSans-Italic.woff') format('woff'),
url('../fonts/ttf/FiraSans-Italic.ttf') format('truetype');
font-weight: 400;
font-style: italic;
}
@font-face{
font-family: 'Fira Sans';
src: url('../fonts/eot/FiraSans-Bold.eot');
src: local('Fira Sans Bold'),
url('../fonts/eot/FiraSans-Bold.eot') format('embedded-opentype'),
url('../fonts/woff/FiraSans-Bold.woff') format('woff'),
url('../fonts/ttf/FiraSans-Bold.ttf') format('truetype');
font-weight: 700;
font-style: normal;
}
@font-face{
font-family: 'Fira Mono';
src: url('../fonts/eot/FiraMono-Regular.eot');
src: local('Fira Mono'),
url('../fonts/eot/FiraMono-Regular.eot') format('embedded-opentype'),
url('../fonts/woff/FiraMono-Regular.woff') format('woff'),
url('../fonts/ttf/FiraMono-Regular.ttf') format('truetype');
font-weight: 400;
font-style: normal;
}
@font-face{
font-family: 'Fira Mono';
src: url('../fonts/eot/FiraMono-Bold.eot');
src: local('Fira Mono Bold'),
url('../fonts/eot/FiraMono-Bold.eot') format('embedded-opentype'),
url('../fonts/woff/FiraMono-Bold.woff') format('woff'),
url('../fonts/ttf/FiraMono-Bold.ttf') format('truetype');
font-weight: 600;
font-style: normal;
}
@font-face {
font-family: 'roboto_slabregular';
src: url('../fonts/eot/roboto_slab.eot');
src: url('../fonts/eot/roboto_slab.eot?#iefix') format('embedded-opentype'),
url('../fonts/woff/roboto_slab.woff') format('woff'),
url('../fonts/ttf/roboto_slab.ttf') format('truetype'),
url('../fonts/svg/roboto_slab.svg#roboto_slabregular') format('svg');
font-weight: normal;
}
h1, h2, h3, h4, h5, nav#main {
font-family: "roboto_slabregular";
}
body {
background-image:url('../images/main_background_light.png');
background-repeat:repeat-x;
font-family: 'Fira Sans';
}
div.logo {
font-family: "roboto_slabregular";
}
header div.logo h1 {
font-size: 2.5em;
margin-bottom: 0;
margin-top: 1.5em;
}
header div.logo h1 a {
text-decoration: none;
color: inherit;
}
header div.logo h1 .shell {
color: #ABABAB;
}
header #logo #slogan {
font-size: 0.6em;
margin-top: 0;
}
a { color: #882211; }
a:hover { color: #a71000; }
a:visited { color: none; }
div.post-content img,
div.posts img,
div.highlight,
article video,
article img {
padding: 0.5em;
border: 1px solid #CDCDCD;
}
div.post-content img,
article video,
article img {
/* margin: 0.8em; */
margin: 0.8em 0 0.8em 0;
max-width: 90%;
}
div.post-content blockquote.twitter-tweet, div.post-content blockquote.mastodon-toot {
background-color: #fcfcfc;
border: 2px solid #eaeaea;
padding: 1em;
border-radius: 8px 8px;
}
div.post-content blockquote.twitter-tweet, div.post-content blockquote.mastodon-toot a {
color: #464646;
}
footer ul li {
color: #CDCDCD;
display: inline;
margin-right: 2em;
}
footer ul li a {
color: #ABABAB;
}
div.main .teaser,
div.main aside {
border: 1px solid #d8d8d8;
background-color: #f2f2f2f2;
}
div.main .teaser {
padding: 1em;
margin: 3em;
}
article.summary {
width: 100%
}
aside article {
margin-bottom: 1em;
}
article blockquote {
border-left: 1px solid #CDCDCD;
padding-left: 2em;
margin-left: 0;
color: #818181;
}
aside article h2 {
font-size: 1.2em;
margin-top: 0;
}
nav#main ul li a {
font-family: "Fira Sans";
font-weight: bold;
border-radius: 3px;
/* padding: 0 1em 0 1em; */
}
nav#main ul li.active a {
background-color: rgb(34, 34, 34);
}
.noborder * {
border: 0 !important;
}
div.pager {
text-align: center;
}
div.pager a {
text-decoration: none
}
article.summary .post-meta {
color: #cdcdcd;
}
article.summary a.anchor {
text-decoration: none;
}
.posts {
/* width: 80%; */
/* min-width: 10%; */
/* max-width: 20%; */
display: flex;
justify-content: flex-start;
flex-direction: row;
flex-wrap: wrap;
box-sizing: border-box;
/* align-items: center; */
align-content: stretch;
}
.posts a {
overflow: hidden;
text-decoration: none;
color: inherit;
/* border: 2px solid red; */
height: 100%;
width: 100%;
display: block;
}
.posts div.h-entry {
padding: 1em;
box-sizing: border-box;
margin: 1em;
width: 20%;
flex: 2 auto;
border: 1px solid #cdcdcd;
border-radius: 5px;
background: -moz-linear-gradient(top, #f2f2f2 0%, #ffffff 100%);
background: -webkit-linear-gradient(top, #f2f2f2 0%,#ffffff 100%);
background: linear-gradient(to bottom, #f2f2f2 0%,#ffffff 100%);
}
.posts .h-entry.foursquare_checkin {
height: 20%;
}
.posts .h-entry.pinboard {
height: 20%;
}
.posts .h-entry.mastodon_toot {
width: 30%;
}
.posts .h-entry.twitter_tweet {
width: 30%;
}
.posts .h-entry.instagram_image {
/* width: 40%; */
}
.posts.summary .h-entry h2 {
/* white-space: nowrap; */
overflow: hidden;
}
.posts .h-entry:hover {
background: #f2f2f2;
background: -moz-linear-gradient(top, #f2f2f2 0%, #ffffff 31%);
background: -webkit-linear-gradient(top, #f2f2f2 0%,#ffffff 31%);
background: linear-gradient(to bottom, #f2f2f2 0%,#ffffff 31%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f2f2f2', endColorstr='#ffffff',GradientType=0 );
}
.posts div.twitter_tweet img,
.posts div.mastodon_toot img,
.posts .summary.instagram_video img,
.posts .summary.instagram_image img {
width: 90%;
background-color: #fff;
}
.posts.summary .spotify_like {
width: 300px
}
.posts span.social_logo {
color: #f2f2f2;
width: 0.7em;
height: 0.7em;
margin-right: 0.2em;
vertical-align: top;
display: inline-block;
}
h1 span.social_logo,
h2 span.social_logo {
color: #f2f2f2;
width: 0.7em;
height: 0.7em;
margin-right: 0.5em;
display: inline-block;
}
div.social_bar {
clear: both;
padding-left: 1em;
height: 230px;
}
div.social_bar > a {
margin-left: 2em;
display: inline-block;
/* height: 4em; */
padding: 1em;
box-sizing: border-box;
margin: 1em;
width: 25%;
/* height: 10em; */
flex: 1 auto;
float: center;
height: 100%;
border: 1px solid #cdcdcd;
border-radius: 5px;
overflow: hidden;
text-decoration: none;
color: inherit;
background: -moz-linear-gradient(top, #f2f2f2 0%, #ffffff 100%);
background: -webkit-linear-gradient(top, #f2f2f2 0%,#ffffff 100%);
background: linear-gradient(to bottom, #f2f2f2 0%,#ffffff 100%);
}
.social_bar .instagram_image img {
width: 20%;
}
.tech-notes a {
}
.pagination {
list-style-type: none;
text-align: center;
}
.pagination .page-item {
display: inline-block;
width: 2em;
}
.tech-notes a:hover {
background: #f2f2f2;
background: -moz-linear-gradient(top, #f2f2f2 0%, #ffffff 31%);
background: -webkit-linear-gradient(top, #f2f2f2 0%,#ffffff 31%);
background: linear-gradient(to bottom, #f2f2f2 0%,#ffffff 31%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f2f2f2', endColorstr='#ffffff',GradientType=0 );
}
div.highlight {
border: none;
padding: 0;
}
div.highlight pre {
border-radius: 5px;
padding: 0.8em;
}
article h1 {
font-size: 1.5em;
}
article h1 .u-url {
text-decoration: none;
color: #222;
}
article h2 {
font-size: 1.2em;
}
article h3 {
font-size: 1em;
}
article pre {
font-family: "Fira Mono";
color: #efefef;
background-color: #272822;
}
.h-card {
display: none;
}