1
0
Fork 0

tweaks to blood theme

This commit is contained in:
Hakim El Hattab 2015-03-02 12:27:15 +01:00
parent 364a3f9845
commit ecc8c78584
2 changed files with 4 additions and 28 deletions

View File

@ -15,13 +15,7 @@
*********************************************/ *********************************************/
body { body {
background: #222; background: #222;
background: -moz-radial-gradient(center, circle cover, #626262 0%, #222 100%); background-color: #222; }
background: -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(0%, #626262), color-stop(100%, #222));
background: -webkit-radial-gradient(center, circle cover, #626262 0%, #222 100%);
background: -o-radial-gradient(center, circle cover, #626262 0%, #222 100%);
background: -ms-radial-gradient(center, circle cover, #626262 0%, #222 100%);
background: radial-gradient(center, circle cover, #626262 0%, #222 100%);
background-color: #2b2b2b; }
.reveal { .reveal {
font-family: Ubuntu, 'sans-serif'; font-family: Ubuntu, 'sans-serif';
@ -282,12 +276,6 @@ body {
.reveal h1, .reveal h2, .reveal h3, .reveal h4, .reveal h5, .reveal h6 { .reveal h1, .reveal h2, .reveal h3, .reveal h4, .reveal h5, .reveal h6 {
font-weight: 700; } font-weight: 700; }
.reveal a, .reveal a:hover {
text-shadow: 2px 2px 2px #000; }
.reveal small a, .reveal small a:hover {
text-shadow: 1px 1px 1px #000; }
.reveal p code { .reveal p code {
background-color: #23241f; background-color: #23241f;
display: inline-block; display: inline-block;

View File

@ -24,6 +24,8 @@ $blood: #a23;
$coal: #222; $coal: #222;
$codeBackground: #23241f; $codeBackground: #23241f;
$backgroundColor: $coal;
// Main text // Main text
$mainFont: Ubuntu, 'sans-serif'; $mainFont: Ubuntu, 'sans-serif';
$mainFontSize: 36px; $mainFontSize: 36px;
@ -45,10 +47,6 @@ $linkColorHover: lighten( $linkColor, 20% );
$selectionBackgroundColor: $blood; $selectionBackgroundColor: $blood;
$selectionColor: #fff; $selectionColor: #fff;
// Background generator
@mixin bodyBackground() {
@include radial-gradient( $coal, lighten( $coal, 25% ) );
}
// Theme template ------------------------------ // Theme template ------------------------------
@import "../template/theme"; @import "../template/theme";
@ -61,7 +59,7 @@ $selectionColor: #fff;
text-shadow: 1px 1px $coal; text-shadow: 1px 1px $coal;
} }
.reveal h1, .reveal h1,
.reveal h2, .reveal h2,
.reveal h3, .reveal h3,
.reveal h4, .reveal h4,
@ -70,16 +68,6 @@ $selectionColor: #fff;
font-weight: 700; font-weight: 700;
} }
.reveal a,
.reveal a:hover {
text-shadow: 2px 2px 2px #000;
}
.reveal small a,
.reveal small a:hover {
text-shadow: 1px 1px 1px #000;
}
.reveal p code { .reveal p code {
background-color: $codeBackground; background-color: $codeBackground;
display: inline-block; display: inline-block;