1
0
mirror of https://github.com/balkian/balkian.github.com.git synced 2024-11-05 03:21:42 +00:00
balkian.github.com/css/main.css

864 lines
14 KiB
CSS
Raw Normal View History

2014-04-08 11:08:47 +00:00
html,
body {
margin:0;
padding:0;
height:100%;
font-family: 'Open Sans', sans-serif;
}
body {
overflow-y: scroll;
background: url(../img/noise.jpg);
}
2015-12-07 22:12:27 +00:00
#container {
min-height: 100%;
position:relative;
margin: 0 auto;
2019-01-08 17:22:33 +00:00
background-color: white;
2015-12-07 22:12:27 +00:00
}
2019-01-08 17:22:33 +00:00
#contentwrapper {
position: relative;
background-color: rgba(255, 255, 255, 0.5);
overflow: display;
border: 1px solid #CCC;
padding-bottom: 14em;
}
2015-12-08 12:42:59 +00:00
2019-01-08 17:22:33 +00:00
#contentwrapper,
#content,
#sidebar {
//change the box model for simplicity
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
#contentwrapper {
font-size: 1em;
padding: 1.5em;
width: 100%;
min-height: 100%;
2015-12-08 12:42:59 +00:00
}
2019-01-08 17:22:33 +00:00
#content,
#sidebar {
position: relative;
display: inline-block;
vertical-align: top;
width: 100%;
padding-bottom: 2em;
}
#content p {
font-size: 18px;
}
.toc ul {
list-style: none;
text-align: left;
}
.toc li:before {
content: "";
border-color: transparent #111;
border-style: solid;
border-width: 0.35em 0 0.35em 0.45em;
display: block;
height: 0;
width: 0;
left: -1em;
top: 0.9em;
position: relative;
}
2019-01-08 17:22:33 +00:00
@media (max-width: 700px) {
#sidebar {
display: inline-block;
float: left;
}
#sidebar > * {
display: none;
}
#sidebar > .toc {
display: block;
2019-01-08 17:22:33 +00:00
}
}
@media (min-width: 700px) {
#contentwrapper{
padding-bottom: 10em;
margin-top: 50px
}
#content {
width: 70%;
margin: 0;
}
footer {
height: 10em;
bottom: -0em;
position: absolute;
}
#sidebar {
width: 25%;
2019-01-08 17:22:33 +00:00
text-align: right;
padding-left: 2%;
2019-01-08 17:22:33 +00:00
position: relative;
}
#badge {
display: none;
}
}
@media (min-width: 1200px) {
#contentwrapper {
width: 1200px;
position:relative;
}
#container {
width: 1200px;
margin: 0 auto;
}
2019-01-08 17:22:33 +00:00
#badge{
height: 270px;
}
#content {
width: 850px;
}
#sidebar {
width: 290px;
}
.front, .back {
height: 250px;
width: 230px;
}
#badge{
display: block;
2019-01-08 17:22:33 +00:00
position: relative;
margin: 0px auto 10px;
width: 250px;
height: 300px;
2019-01-08 17:22:33 +00:00
padding: 0;
/* margin-top: -2em; */
-webkit-transform: rotate(-4deg);
-moz-transform: rotate(-4deg);
transform: rotate(-4deg);
transition: 0.2s;
transition-delay: 0.4s;
z-index: 1000;
}
.expandx {
2019-01-08 17:22:33 +00:00
width: 100%;
}
.expandy {
height: 100%;
}
2019-01-08 17:22:33 +00:00
.expand {
width: 100%;
height: 100%;
}
2019-01-08 17:22:33 +00:00
/* entire container, keeps perspective */
.flip-container {
perspective: 1000;
-webkit-perspective: 1000;
}
#badge:hover {
-webkit-transform: translate(5px, 20px) rotate(0.5deg) scale(1.1);
-moz-transform: translate(5px, 20px) rotate(0.5deg) scale(1.1);
transform: translate(5px, 20px) rotate(0.5deg) scale(1.1);
transition-delay: 0s;
}
/* flip the pane when hovered */
.flip-container:hover .flipper, .flip-container.hover .flipper {
-webkit-transform: rotateY(180deg);
-moz-transform: rotateY(180deg);
transform: rotateY(180deg);
}
/* .flip-container, .front, .back { */
/* width: 100%; */
/* } */
/* flip speed goes here */
.flipper {
transition: 0.8s;
transform-style: preserve-3d;
-webkit-transform-style: preserve-3d;
-moz-transform-style: preserve-3d;
position: relative;
}
/* hide back of pane during swap */
.front, .back {
/* backface-visibility: hidden; */
/* -webkit-backface-visibility: hidden; */
/* transform: rotateX(0deg); */
position: absolute;
top: 0;
left: 0;
padding: 1%;
padding-bottom: 10%;
background-color: black;
box-shadow: -5px 5px 5px #555;
-webkit-box-shadow: -5px 5px 15px #555;
-moz-box-shadow: -5px 5px 15px #555;
}
.back {
backface-visibility: hidden;
2019-01-08 17:22:33 +00:00
}
/* front pane, placed above back */
.front {
z-index: 3;
}
/* back, initially hidden pane */
.back {
transform: rotateY(180deg);
-webkit-transform: rotateY(180deg);
z-index: 4;
/* height: 100%; */
background-color: #ffd700bb;
2019-01-08 17:22:33 +00:00
}
.sticky:after {
content: "";
height: 20px;
width: 80px;
background: rgba(255,255,255,0.5);
position: absolute;
-webkit-box-shadow: 0px 1px 3px rgba(0,0,0,0.4);
-moz-box-shadow: 0px 1px 3px rgba(0,0,0,0.4);
box-shadow: 0px 1px 3px rgba(0,0,0,0.4);
top: 0;
right: 8px;
margin: -8px -40px 0 0;
z-index: 1000;
-webkit-transform:rotate(43deg);
-moz-transform:rotate(43deg);
backface-visibility: hidden;
-moz-backface-visibility: hidden;
-webkit-backface-visibility: hidden;
}
.sticky:hover:after {
content: "";
visibility: hidden;
}
.date {
position: absolute;
width: 10em;
/* top: 25px; */
right: 0;
text-align: right;
2019-01-08 17:22:33 +00:00
padding: 0.5em;
border-right: 2px solid #428bca;
2019-01-08 17:22:33 +00:00
font-weight: bold;
}
.posthead {
margin-bottom: 1.5em;
}
.posthead h2, h1 {
margin-bottom: 0.5em;
}
.entry {
position: relative;
2019-01-08 17:22:33 +00:00
/* border-left: 5px solid blue; */
padding: 5px;
2019-01-08 17:22:33 +00:00
margin: 5px;
}
.toc {
padding: 1em;
position: fixed;
border: 1px solid lightgray;
background-color: white;
height: max-content;
z-index: 1;
}
2019-01-08 17:22:33 +00:00
}
/* #sidebar { */
/* position: relative; */
/* width: 300px; */
/* float: left; */
/* padding: 20px; */
/* text-align: right; */
/* border-right: dashed 1px #DDD; */
/* -webkit-box-sizing: border-box; /\* Safari/Chrome, other WebKit *\/ */
/* -moz-box-sizing: border-box; /\* Firefox, other Gecko *\/ */
/* box-sizing: border-box; /\* Opera/IE 8+ *\/ */
/* } */
2015-12-08 12:42:59 +00:00
.icons {
text-align: center;
color: #333;
/* text-shadow: 2px 2px #FFD700; */
}
.coolicon {
position: relative;
}
.coolicon:hover .icon-stack {
visibility: none;
}
.coolicon:hover .explanation {
white-space: nowrap;
background: #FFD700;
display: block;
position:absolute;
border: 1px solid black;
z-index: 99;
top: 1em;
color: black;
font-family: Comfortaa;
/* width: 100%; */
padding: 0.5em;
/* border-radius: 0 10px 10px; */
overflow: visible;
left: 0;
/* transform-origin: 95% 50%; */
/* -moz-transform-origin: 95% 50%; */
/* -webkit-transform-origin: 95% 50%; */
-webkit-transform: rotate(-4deg);
-moz-transform: rotate(-4deg);
transform: rotate(-4deg);
}
/* .coolicon:hover { */
/* width: 5em; */
/* } */
.explanation {
display:none;
}
2015-12-07 22:12:27 +00:00
a {
2019-01-08 17:22:33 +00:00
color: #111;
font-weight: bolder;
2015-12-07 22:12:27 +00:00
text-decoration: none;
}
footer {
2015-12-08 12:42:59 +00:00
font-family: Comfortaa;
background-color: #000;
color: white;
text-align: center;
margin: 0 auto;
width: 100%;
overflow: auto;
2015-12-07 22:12:27 +00:00
}
footer div, footer p, footer ul{
color: white;
padding: 2px;
margin: 3px;
}
2013-08-22 23:57:31 +00:00
.site .footer {
font-size: 80%;
color: #666;
border-top: 4px solid #eee;
margin-top: 2em;
2015-12-07 22:12:27 +00:00
margin: 0em;
padding: 1em;
2013-08-22 23:57:31 +00:00
overflow: hidden;
}
2015-12-07 22:12:27 +00:00
footer a {
color: #FFF;
text-shadow: 1px 1px 1px #069;
}
footer a:hover {
text-shadow: 0.1em 0.1em 0.1em #333;
}
2013-08-22 23:57:31 +00:00
.site .footer .contact {
float: left;
margin-right: 3em;
}
.site .footer .contact a {
color: #8085C1;
}
.site .footer .rss {
margin-top: 1.1em;
margin-right: -.2em;
float: right;
}
.site .footer .rss img {
border: 0;
}
.todo , .task-list {
2013-08-22 23:57:31 +00:00
list-style-type: none;
}
.todo ul {
font-weight: normal;
}
.todo li.done {
}
.todo li.done:after {
content: "\2714";
padding-left: 0.5em;
color: green;
}
.todo li.cancelled:after {
content: "\2718";
padding-left: 0.5em;
}
2015-12-08 00:39:33 +00:00
.postnav {
height: 1em;
width: 100%;
padding: 15px 9px;
margin-left: -10px;
background-color: white;
text-align: right;
}
2015-12-07 22:12:27 +00:00
.nextpost, .nextpage {
float: right;
}
.previouspost, .previouspage {
float: left;
}
2015-12-08 00:39:33 +00:00
.pag-top{
/*margin: -9px auto;*/
/*margin-bottom 0;*/
/*border-radius: 0 0 15px 15px;*/
/*border: dashed 1px #AAA;*/
/*border-top-width: 0;*/
}
.pag-bottom {
2019-01-08 17:22:33 +00:00
/* bottom: -10px; */
2015-12-08 00:39:33 +00:00
/*margin: 0 auto;*/
/*border-radius: 15px 15px 0 0;*/
/*border: dashed 1px #AAA;*/
/*border-bottom-width: 0;*/
}
2015-12-07 22:12:27 +00:00
#social {
margin: 0 auto;
padding: 0;
}
#social li {
position: relative;
list-style-type: none;
display: inline-block;
2015-12-08 12:42:59 +00:00
height: 80px;
2015-12-07 22:12:27 +00:00
width: 80px;
padding: 0;
2015-12-08 16:13:36 +00:00
text-align: center;
2015-12-07 22:12:27 +00:00
}
#social li a {
font-weight: normal;
2015-12-07 22:12:27 +00:00
text-align: center;
2015-12-08 16:13:36 +00:00
width:100%;
margin: 0;
position: absolute;
font-size: 60px;
left: 0;
top: 0;
2015-12-07 22:12:27 +00:00
}
#social li a:hover {
position: absolute;
font-size: 80px;
2015-12-08 16:13:36 +00:00
top: -20px;
left: 0px;
2015-12-07 22:12:27 +00:00
/*left: 10px;*/
/*top: -50px;*/
z-index: 100;
}
.highlight, #content>pre{
2013-08-22 23:57:31 +00:00
display: block;
overflow: auto;
2015-01-22 22:05:35 +00:00
position: relative;
2019-01-08 17:22:33 +00:00
background-color: #FEFEFE;
2013-08-22 23:57:31 +00:00
margin: 0 auto;
width: 90%;
2015-01-22 22:05:35 +00:00
padding: 0;
2019-01-08 17:22:33 +00:00
border: solid 1px #CCC;
/* border-radius: 5px 0px 5px 5px; */
2013-08-22 23:57:31 +00:00
-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
-moz-box-sizing: border-box; /* Firefox, other Gecko */
box-sizing: border-box; /* Opera/IE 8+ */
}
2014-04-08 11:08:47 +00:00
#navbar {
position: relative;
}
2014-04-09 09:33:38 +00:00
.pagination {
position: relative;
height: 1em;
min-width: 60%;
padding: 10px;
text-align: center;
background-color: #FFF;
z-index: 0;
2015-12-08 00:39:33 +00:00
text-weight: bold;
color: #AAA;
2014-04-09 09:33:38 +00:00
}
.pag-top{
2019-01-08 17:22:33 +00:00
margin: 0px auto;
2015-12-07 22:12:27 +00:00
margin-bottom: 0;
2014-04-09 09:33:38 +00:00
border-top-width: 0;
}
.pag-bottom {
2019-01-08 17:22:33 +00:00
bottom: 0px;
2014-04-09 09:33:38 +00:00
margin: 0 auto;
border-bottom-width: 0;
}
.previouspage {
float: left;
}
.nextpage {
float: right;
}
.clear { clear: both; }
2019-01-08 17:22:33 +00:00
.post {
2014-04-09 09:33:38 +00:00
display: block;
margin-left: auto;
2019-01-08 17:22:33 +00:00
margin-right: auto;
}
#content img {
max-width: 100%;
2014-04-09 09:33:38 +00:00
}
2015-01-22 22:05:35 +00:00
2019-01-08 17:22:33 +00:00
2015-01-22 22:05:35 +00:00
#headline {
position: relative;
margin: 0em;
font-size: 4em;
padding-top: 5px;
font-family: comfortaa;
}
#headline a {
color: black;
padding: 0;
margin: 0;
}
#headline a.inv {
font-size: 0.8em;
color: white;
text-shadow: 1px 1px #000, -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000;
}
#headline a:hover {
color: white;
text-shadow: 1px 1px #000, -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000;
}
#social {
margin: 0 auto;
padding: 0;
}
.entries dt {
font-weight: bold;
clear: both;
border-top: dashed 1px #CCC;
2015-12-10 14:44:33 +00:00
padding: 0.2em;
padding-top: 0.5em;
2015-01-22 22:05:35 +00:00
}
2015-12-10 14:44:33 +00:00
2015-01-22 22:05:35 +00:00
.entries dd {
float: right;
margin: 2px;
}
a:hover {
text-shadow: 0.5px 0.5px #CCC, -0.5px -0.5px 0 #CCC, 0.5px -0.5px 0 #CCC, -0.5px 0.5px 0 #CCC;
}
.tag:hover * {
-webkit-transform: rotate(-4deg);
-moz-transform: rotate(-4deg);
transform: rotate(-4deg);
color: black;
text-shadow: none ;
transform-origin: 95% 50%;
-moz-transform-origin: 95% 50%;
-webkit-transform-origin: 95% 50%;
2019-01-08 17:22:33 +00:00
background-color: #ffd700; */
2015-01-22 22:05:35 +00:00
}
2015-12-10 14:44:33 +00:00
.tag {
margin: 2px;
}
2015-01-22 22:05:35 +00:00
.tag * {
display: inline-block;
2015-12-10 14:44:33 +00:00
color: black;
2019-01-08 17:22:33 +00:00
background-color: #ffd700; */
2015-01-22 22:05:35 +00:00
}
.hll {
background: yellow;
}
2015-12-07 22:12:27 +00:00
.label {
font-family: comfortaa;
border-radius: 10px 0px 0px 10px;
padding: 5px;
color: black;
font-size: 10px;
padding-left: 10px;
border: 1px solid #777;
font-weight: initial;
2015-12-07 22:12:27 +00:00
}
.label:after{
content: " •";
color: #666;
2015-12-10 14:44:33 +00:00
}
.readmore {
2019-01-08 17:22:33 +00:00
/* background: #EAEAEA; */
2015-12-10 14:44:33 +00:00
padding: 0.5em;
2019-01-08 17:22:33 +00:00
/* color: white; */
/* border-bottom: 1px solid; */
2015-12-10 14:44:33 +00:00
margin: 1em auto;
display: inline-block;
}
.readmore:hover {
border-left: 1px solid;
2019-01-08 17:22:33 +00:00
2015-12-10 14:44:33 +00:00
}
2019-01-08 17:22:33 +00:00
#content:after {
content: ".";
display: block;
clear: both;
visibility: hidden;
line-height: 0;
height: 0;
}
#headline {
padding-left: 20%;;
}
a {
/* color: #069; */
text-decoration: none;
}
.previouspost {
float: left;
}
.about {
position: relative;
margin: 0 auto;
text-align: center;
margin-top: 50px;
clear: both;
}
#about li, .about li {
line-height:1.5em;
border-bottom:1px solid #DDD;
float:left;
display:inline;
width: 33.333%;
}
@-webkit-keyframes toright {
from {
padding-left: 0px;
opacity: 0;
}
to {
padding-left: 150px;
opacity: 1;
}
}
@keyframes toright {
from {
padding-left: 0px;
opacity: 0;
}
to {
padding-left: 150px;
opacity: 1;
}
}
@-webkit-keyframes appear{
to {
opacity: 1;
}
from {
opacity: 0;
}
}
@keyframes appear{
to {
opacity: 1;
}
from {
opacity: 0;
}
}
#subheadline {
-webkit-animation-name: toright;
-webkit-animation-duration: 4s;
-webkit-animation-iteration-count: 1;
-webkit-animation-timing-function: linear;
-webkit-animation-fill-mode: forwards;
animation-name: toright;
animation-duration: 4s;
animation-iteration-count: 1;
animation-timing-function: linear;
animation-fill-mode: forwards;
}
.disappear {
-webkit-animation-name: appear;
-webkit-animation-duration: 4s;
-webkit-animation-timing-function: linear;
-webkit-animation-iteration-count: 1;
-webkit-animation-fill-mode: forwards;
animation-name: appear;
animation-duration: 4s;
animation-iteration-count: 1;
animation-timing-function: linear;
animation-fill-mode: forwards;
}
.navbar {
font-size: 1.2em;
margin: 0;
padding: 0;
list-style-type: none;
list-style-image: none;
}
.navbar li {
text-align: center;
display: inline-block;
margin: 0;
padding: 0.5em;
}
.navbar li {
margin: 0;
text-decoration: none;
font-weight: bold;
}
.navbar li:hover {
position: relative;
margin-bottom: -2px;
2019-01-08 17:22:33 +00:00
color: #000;
background-color: #fff;
text-shadow: 2px 2px #fff, -2px -2px 0 #fff, 2px -2px 0 #fff, -2px 2px 0 #fff;
border-bottom: solid 2px black;
2019-01-08 17:22:33 +00:00
}
.navbar li.active {
border-bottom: solid 2px #C00;
margin-bottom: -2px;
2019-01-08 17:22:33 +00:00
}
.navbar a:hover {
color: #c00;
}
.previouspost {
float: left;
}
blockquote {
background-color: #EEE;
padding: 1em 2em;
border-left: 1px solid black;
}
pre {
margin: 0;
padding: 1em;
}
.search {
width: 100%;
padding: 0;
}
.searchTerm {
padding: 0.5em 1em;
}
.search > * {
vertical-align: middle;
margin:0;
height: 100%;
}
.vertical-center {
margin: 0;
position: absolute;
top: 50%;
-ms-transform: translateY(-50%);
transform: translateY(-50%);
}