diff --git a/css/lightbox.css b/css/lightbox.css
index 9a7303a..b36df7a 100644
--- a/css/lightbox.css
+++ b/css/lightbox.css
@@ -1,16 +1,15 @@
-/* line 7, ../sass/lightbox.sass */
-body:after {
- content: url(../img/ui/close.png) url(../img/ui/loading.gif) url(../img/ui/prev.png) url(../img/ui/next.png);
- display: none;
+html.lb-disable-scrolling {
+ overflow: hidden;
+ /* Position fixed required for iOS. Just putting overflow: hidden; on the body is not enough. */
+ position: fixed;
+ height: 100vh;
+ width: 100vw;
}
-/* line 11, ../sass/lightbox.sass */
.lightboxOverlay {
- position: fixed;
+ position: absolute;
top: 0;
left: 0;
- width: 100%;
- height: 100%;
z-index: 9999;
background-color: black;
filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=80);
@@ -18,11 +17,8 @@ body:after {
display: none;
}
-/* line 20, ../sass/lightbox.sass */
.lightbox {
- position: fixed;
- margin-top: auto;
- margin-bottom: auto;
+ position: absolute;
left: 0;
width: 100%;
z-index: 10000;
@@ -30,74 +26,59 @@ body:after {
line-height: 0;
font-weight: normal;
}
-/* line 28, ../sass/lightbox.sass */
+
.lightbox .lb-image {
display: block;
height: auto;
- -webkit-border-radius: 3px;
- -moz-border-radius: 3px;
- -ms-border-radius: 3px;
- -o-border-radius: 3px;
+ max-width: inherit;
+ max-height: none;
border-radius: 3px;
+
+ /* Image border */
+ border: 4px solid white;
}
-/* line 32, ../sass/lightbox.sass */
+
.lightbox a img {
border: none;
}
-/* line 35, ../sass/lightbox.sass */
.lb-outerContainer {
position: relative;
*zoom: 1;
width: 250px;
height: 250px;
margin: 0 auto;
- -webkit-border-radius: 4px;
- -moz-border-radius: 4px;
- -ms-border-radius: 4px;
- -o-border-radius: 4px;
border-radius: 4px;
-
- border-style: solid;
- border-width: 1px;
- border-color: #000000;
- background-image: url(../img/ui/bgdark.png);
- background-position: center;
-
+
+ /* Background color behind image.
+ This is visible during transitions. */
+ background-color: white;
}
-/* line 38, ../../../../.rvm/gems/ruby-1.9.3-p392/gems/compass-0.12.2/frameworks/compass/stylesheets/compass/utilities/general/_clearfix.scss */
+
.lb-outerContainer:after {
content: "";
display: table;
clear: both;
}
-/* line 44, ../sass/lightbox.sass */
-.lb-container {
- padding: 4px;
-}
-
-/* line 47, ../sass/lightbox.sass */
.lb-loader {
position: absolute;
top: 43%;
- left: 0%;
+ left: 0;
height: 25%;
width: 100%;
text-align: center;
line-height: 0;
}
-/* line 56, ../sass/lightbox.sass */
.lb-cancel {
display: block;
width: 32px;
height: 32px;
margin: 0 auto;
- background: url(../img/ui/loading.gif) no-repeat;
+ background: url(/img/ui/loading.gif) no-repeat;
}
-/* line 63, ../sass/lightbox.sass */
.lb-nav {
position: absolute;
top: 0;
@@ -107,84 +88,94 @@ body:after {
z-index: 10;
}
-/* line 71, ../sass/lightbox.sass */
.lb-container > .nav {
left: 0;
}
-/* line 74, ../sass/lightbox.sass */
.lb-nav a {
outline: none;
+ background-image: url('data:image/gif;base64,R0lGODlhAQABAPAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==');
}
-/* line 77, ../sass/lightbox.sass */
.lb-prev, .lb-next {
- width: 49%;
height: 100%;
cursor: pointer;
- /* Trick IE into showing hover */
display: block;
}
-/* line 84, ../sass/lightbox.sass */
-.lb-prev {
+.lb-nav a.lb-prev {
+ width: 34%;
left: 0;
float: left;
-}
-/* line 87, ../sass/lightbox.sass */
-.lb-prev:hover {
- background: url(../img/ui/prev.png) left 48% no-repeat;
+ background: url(/img/ui/prev.png) left 48% no-repeat;
+ filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=0);
+ opacity: 0;
+ -webkit-transition: opacity 0.6s;
+ -moz-transition: opacity 0.6s;
+ -o-transition: opacity 0.6s;
+ transition: opacity 0.6s;
}
-/* line 90, ../sass/lightbox.sass */
-.lb-next {
+.lb-nav a.lb-prev:hover {
+ filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
+ opacity: 1;
+}
+
+.lb-nav a.lb-next {
+ width: 64%;
right: 0;
float: right;
-}
-/* line 93, ../sass/lightbox.sass */
-.lb-next:hover {
- background: url(../img/ui/next.png) right 48% no-repeat;
+ background: url(/img/ui/next.png) right 48% no-repeat;
+ filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=0);
+ opacity: 0;
+ -webkit-transition: opacity 0.6s;
+ -moz-transition: opacity 0.6s;
+ -o-transition: opacity 0.6s;
+ transition: opacity 0.6s;
+}
+
+.lb-nav a.lb-next:hover {
+ filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
+ opacity: 1;
}
-/* line 96, ../sass/lightbox.sass */
.lb-dataContainer {
margin: 0 auto;
padding-top: 5px;
*zoom: 1;
width: 100%;
- -moz-border-radius-bottomleft: 4px;
- -webkit-border-bottom-left-radius: 4px;
border-bottom-left-radius: 4px;
- -moz-border-radius-bottomright: 4px;
- -webkit-border-bottom-right-radius: 4px;
border-bottom-right-radius: 4px;
}
-/* line 38, ../../../../.rvm/gems/ruby-1.9.3-p392/gems/compass-0.12.2/frameworks/compass/stylesheets/compass/utilities/general/_clearfix.scss */
+
.lb-dataContainer:after {
content: "";
display: table;
clear: both;
}
-/* line 103, ../sass/lightbox.sass */
.lb-data {
padding: 0 4px;
- color: #bbbbbb;
+ color: #ccc;
}
-/* line 106, ../sass/lightbox.sass */
+
.lb-data .lb-details {
width: 85%;
float: left;
text-align: left;
line-height: 1.1em;
}
-/* line 111, ../sass/lightbox.sass */
+
.lb-data .lb-caption {
font-size: 13px;
font-weight: bold;
line-height: 1em;
}
-/* line 115, ../sass/lightbox.sass */
+
+.lb-data .lb-caption a {
+ color: #4ae;
+}
+
.lb-data .lb-number {
display: block;
clear: left;
@@ -192,19 +183,23 @@ body:after {
font-size: 12px;
color: #999999;
}
-/* line 121, ../sass/lightbox.sass */
+
.lb-data .lb-close {
display: block;
float: right;
width: 30px;
height: 30px;
- background: url(../img/ui/close.png) top right no-repeat;
+ background: url(/img/ui/close.png) top right no-repeat;
text-align: right;
outline: none;
filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=70);
opacity: 0.7;
+ -webkit-transition: opacity 0.2s;
+ -moz-transition: opacity 0.2s;
+ -o-transition: opacity 0.2s;
+ transition: opacity 0.2s;
}
-/* line 130, ../sass/lightbox.sass */
+
.lb-data .lb-close:hover {
cursor: pointer;
filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
diff --git a/css/main.css b/css/main.css
index fed9e15..5ac63e7 100644
--- a/css/main.css
+++ b/css/main.css
@@ -62,28 +62,12 @@ nav#left {
border-style: solid;
border-width: 0 1px 0 0;
border-color: #000000;
- background-image: url(../img/ui/bggray.png);
- -webkit-box-shadow: -4px 0px 10px #202020 inset;
- -moz-box-shadow: -4px 0px 10px #202020 inset;
- -ms-box-shadow: -4px 0px 10px #202020 inset;
- -o-box-shadow: -4px 0px 10px #202020 inset;
+ background-image: url(/img/ui/bggray.png);
box-shadow: -4px 0px 10px #202020 inset;
text-align: center;
font-size: large;
- -webkit-transition-property: left;
- -moz-transition-property: left;
- -ms-transition-property: left;
- -o-transition-property: left;
transition-property: left;
- -webkit-transition-duration: 0.2s;
- -moz-transition-duration: 0.2s;
- -ms-transition-duration: 0.2s;
- -o-transition-duration: 0.2s;
transition-duration: 0.2s;
- -webkit-transition-delay: 0.1s;
- -moz-transition-delay: 0.1s;
- -ms-transition-delay: 0.1s;
- -o-transition-delay: 0.1s;
transition-delay: 0.1s;
}
nav#left .arrow {
@@ -91,20 +75,8 @@ nav#left .arrow {
right: 0;
top: 50%;
height: 35px;
- -webkit-transition-property: opacity;
- -moz-transition-property: opacity;
- -ms-transition-property: opacity;
- -o-transition-property: opacity;
transition-property: opacity;
- -webkit-transition-duration: 0.2s;
- -moz-transition-duration: 0.2s;
- -ms-transition-duration: 0.2s;
- -o-transition-duration: 0.2s;
transition-duration: 0.2s;
- -webkit-transition-delay: 0.1s;
- -moz-transition-delay: 0.1s;
- -ms-transition-delay: 0.1s;
- -o-transition-delay: 0.1s;
transition-delay: 0.1s;
}
nav#left figure {
@@ -127,25 +99,13 @@ nav#left a {
border-style: solid;
border-width: 1px;
border-color: #000;
- -webkit-border-radius: 3px;
- -moz-border-radius: 3px;
- -ms-border-radius: 3px;
- -o-border-radius: 3px;
border-radius: 3px;
color: #FAFAFA;
font-weight: bold;
text-decoration: none;
text-align: center;
font-size: 1.2em;
- -webkit-transition-property: border-color background-color;
- -moz-transition-property: border-color background-color;
- -ms-transition-property: border-color background-color;
- -o-transition-property: border-color background-color;
transition-property: border-color background-color;
- -webkit-transition-duration: 0.1s;
- -moz-transition-duration: 0.1s;
- -ms-transition-duration: 0.1s;
- -o-transition-duration: 0.1s;
transition-duration: 0.1s;
}
nav#left a:hover {
@@ -189,21 +149,13 @@ nav#top {
color: #5F5F5F;
padding: 4px 0px;
overflow: auto;
- background-image: url(../img/ui/bgdark.png);
+ background-image: url(/img/ui/bgdark.png);
border-style: solid;
border-width: 0 1px 1px 1px;
border-color: #000000;
text-align: center;
white-space: nowrap;
- -webkit-transition-property: top;
- -moz-transition-property: top;
- -ms-transition-property: top;
- -o-transition-property: top;
transition-property: top;
- -webkit-transition-duration: 0.1s;
- -moz-transition-duration: 0.1s;
- -ms-transition-duration: 0.1s;
- -o-transition-duration: 0.1s;
transition-duration: 0.1s;
}
nav#top .arrow {
@@ -224,10 +176,6 @@ nav#top a {
font-size: 18px;
font-style: italic;
text-decoration: none;
- -webkit-text-shadow: 0 0 5px #000000;
- -moz-text-shadow: 0 0 5px #000000;
- -ms-text-shadow: 0 0 5px #000000;
- -o-text-shadow: 0 0 5px #000000;
text-shadow: 0 0 5px #000000;
text-align: center;
}
@@ -235,25 +183,13 @@ nav#top a img {
margin: 4px 4px 0 4px;
width: 128px;
height: 128px;
- -webkit-border-radius: 10px;
- -moz-border-radius: 10px;
- -ms-border-radius: 10px;
- -o-border-radius: 10px;
border-radius: 10px;
- -webkit-box-shadow: 0px 0px 10px #000000;
- -moz-box-shadow: 0px 0px 10px #000000;
- -ms-box-shadow: 0px 0px 10px #000000;
- -o-box-shadow: 0px 0px 10px #000000;
box-shadow: 0px 0px 10px #000000;
}
nav#top a figcaption {
width: 128px;
}
nav#top a:hover {
- -webkit-border-radius: 5px;
- -moz-border-radius: 5px;
- -ms-border-radius: 5px;
- -o-border-radius: 5px;
border-radius: 5px;
background-color: rgba(255, 255, 255, 0.15);
}
@@ -264,8 +200,8 @@ nav#top:hover, nav#top:active {
@keyframes UnwrapHeader {
from {
- margin-left: 50%;
- margin-right: 50%;
+ margin-left: 40%;
+ margin-right: 40%;
}
to {
margin-left: 40px;
@@ -276,20 +212,8 @@ nav#top:hover, nav#top:active {
position: absolute;
left: 20px;
right: 0px;
- -webkit-transition-property: left;
- -moz-transition-property: left;
- -ms-transition-property: left;
- -o-transition-property: left;
transition-property: left;
- -webkit-transition-duration: 0.2s;
- -moz-transition-duration: 0.2s;
- -ms-transition-duration: 0.2s;
- -o-transition-duration: 0.2s;
transition-duration: 0.2s;
- -webkit-transition-delay: 0.1s;
- -moz-transition-delay: 0.1s;
- -ms-transition-delay: 0.1s;
- -o-transition-delay: 0.1s;
transition-delay: 0.1s;
}
#section-main header {
@@ -324,15 +248,7 @@ nav#top:hover, nav#top:active {
max-width: 800px;
font-size: 0.6em;
line-height: 1.3em;
- -webkit-transition-property: border-radius;
- -moz-transition-property: border-radius;
- -ms-transition-property: border-radius;
- -o-transition-property: border-radius;
transition-property: border-radius;
- -webkit-transition-duration: 0.5s;
- -moz-transition-duration: 0.5s;
- -ms-transition-duration: 0.5s;
- -o-transition-duration: 0.5s;
transition-duration: 0.5s;
}
#section-main article h1:first-child {
@@ -343,7 +259,7 @@ nav#top:hover, nav#top:active {
margin-top: -23px;
border-radius: 18px 18px 0 0;
background-color: #215D9C;
- background-image: url("../img/ui/stripes.png");
+ background-image: url("/img/ui/stripes.png");
color: #FAFAFA;
font-family: "Croissant One", cursive;
font-weight: bold;
@@ -351,15 +267,7 @@ nav#top:hover, nav#top:active {
font-size: 1.7em;
text-align: left;
letter-spacing: -0.03em;
- -webkit-transition-property: border-radius;
- -moz-transition-property: border-radius;
- -ms-transition-property: border-radius;
- -o-transition-property: border-radius;
transition-property: border-radius;
- -webkit-transition-duration: 0.5s;
- -moz-transition-duration: 0.5s;
- -ms-transition-duration: 0.5s;
- -o-transition-duration: 0.5s;
transition-duration: 0.5s;
}
#section-main article h1:first-child img {
@@ -374,7 +282,7 @@ nav#top:hover, nav#top:active {
padding: 10px 23px;
border-top: 1px solid #d5d5d5;
border-bottom: 1px solid #d5d5d5;
- background-image: url("../img/ui/stripes.png");
+ background-image: url("/img/ui/stripes.png");
color: #3A4145;
font-family: "Croissant One", cursive;
font-size: x-large;
@@ -458,11 +366,7 @@ nav#top:hover, nav#top:active {
border-top: 1px solid #000;
border-bottom: 1px solid #000;
color: #FAFAFA;
- background-image: url("../img/ui/bgdark.png");
- -webkit-box-shadow: 0px 0px 10px #000 inset;
- -moz-box-shadow: 0px 0px 10px #000 inset;
- -ms-box-shadow: 0px 0px 10px #000 inset;
- -o-box-shadow: 0px 0px 10px #000 inset;
+ background-image: url("/img/ui/bgdark.png");
box-shadow: 0px 0px 10px #000 inset;
}
#section-main article .cinema img, #section-main article .cinema video, #section-main article .cinema iframe {
@@ -493,11 +397,7 @@ nav#top:hover, nav#top:active {
border-top: 1px solid #000;
border-bottom: 1px solid #000;
color: #FAFAFA;
- background-image: url("../img/ui/bggray.png");
- -webkit-box-shadow: 0px 0px 10px #000 inset;
- -moz-box-shadow: 0px 0px 10px #000 inset;
- -ms-box-shadow: 0px 0px 10px #000 inset;
- -o-box-shadow: 0px 0px 10px #000 inset;
+ background-image: url("/img/ui/bggray.png");
box-shadow: 0px 0px 10px #000 inset;
}
#section-main article .markdown > div.content > pre code, #section-main article .markdown > div.content > pre pre {
@@ -521,7 +421,7 @@ nav#top:hover, nav#top:active {
display: block;
width: 100%;
height: 28px;
- background-image: url(../img/ui/gototop.svg);
+ background-image: url(/img/ui/gototop.svg);
background-position: center;
background-size: contain;
background-repeat: no-repeat;
@@ -709,8 +609,29 @@ Monokai Sublime style. Derived from Monokai by noformnocontent http://nn.mit-lic
opacity: 0.5;
}
+#lightbox .lb-cancel {
+ background-image: url(/img/ui/loading.gif);
+}
+#lightbox .lb-nav a.lb-prev {
+ background-image: url(/img/ui/prev.png);
+}
+#lightbox .lb-nav a.lb-next {
+ background-image: url(/img/ui/next.png);
+}
+#lightbox .lb-data .lb-close {
+ background-image: url(/img/ui/close.png);
+}
+#lightbox .lb-outerContainer {
+ background-image: url(/img/ui/bgdark.png);
+ border-radius: 10px;
+}
+#lightbox .lb-image {
+ border: 4px solid #202020;
+ border-radius: 10px;
+}
+
body {
- background-image: url(../img/ui/gnome3.jpg);
+ background-image: url(/img/ui/gnome3.jpg);
background-size: cover;
background-attachment: fixed;
font-family: "Noto Serif", serif;
@@ -746,10 +667,6 @@ body[data-page=home] nav#left .arrow {
}
body.skills #section-main article .skillexcellent, body.skills #section-main article .skillgood, body.skills #section-main article .skillmed, body.skills #section-main article .skillknown, body.skills #section-main article .skillperso, body.skills #section-main article .skillstudy {
padding: 0 3px 0 3px;
- -webkit-border-radius: 5px;
- -moz-border-radius: 5px;
- -ms-border-radius: 5px;
- -o-border-radius: 5px;
border-radius: 5px;
}
body.skills #section-main article .skillexcellent {
diff --git a/index.html b/index.html
index 3cdc826..e7a2e6c 100644
--- a/index.html
+++ b/index.html
@@ -48,7 +48,7 @@
-
+