Procházet zdrojové kódy

tweaks to blood theme

Hakim El Hattab před 10 roky
rodič
revize
ecc8c78584
2 změnil soubory, kde provedl 4 přidání a 28 odebrání
  1. 1 13
      css/theme/blood.css
  2. 3 15
      css/theme/source/blood.scss

+ 1 - 13
css/theme/blood.css

@@ -15,13 +15,7 @@
  *********************************************/
 body {
   background: #222;
-  background: -moz-radial-gradient(center, circle cover, #626262 0%, #222 100%);
-  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; }
+  background-color: #222; }
 
 .reveal {
   font-family: Ubuntu, 'sans-serif';
@@ -282,12 +276,6 @@ body {
 .reveal h1, .reveal h2, .reveal h3, .reveal h4, .reveal h5, .reveal h6 {
   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 {
   background-color: #23241f;
   display: inline-block;

+ 3 - 15
css/theme/source/blood.scss

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