This commit is contained in:
Rico Sta. Cruz 2017-08-24 18:57:41 +08:00
parent 011f1c0768
commit 564e865362
No known key found for this signature in database
GPG Key ID: CAAD38AE2962619A
3 changed files with 10 additions and 2 deletions

View File

@ -79,10 +79,17 @@
} }
.h3-section.-prime > .body { .h3-section.-prime > .body {
border: solid 2px lighten($baseB-400, 50%); border: solid 2px $baseB-600;
border-radius: 2px; border-radius: 2px;
box-shadow: box-shadow:
0 8px 12px rgba(80, 100, 150, 0.07), 0 8px 12px rgba(80, 100, 150, 0.07),
0 4px 8px rgba(80, 100, 150, 0.07), 0 4px 8px rgba(80, 100, 150, 0.07),
0 2px 3px rgba(80, 100, 150, 0.15); 0 2px 3px rgba(80, 100, 150, 0.15);
& > pre ~ p,
& > ul ~ p,
& > iframe ~ p,
& > table ~ p {
border-top: solid 2px $baseB-600;
}
} }

View File

@ -10,6 +10,7 @@ $gray-text: #678;
$text-color: #333; $text-color: #333;
$baseA-400: #53a; $baseA-400: #53a;
$baseB-400: #35a; $baseB-400: #35a;
$baseB-600: adjust-color($baseB-400, $lightness: 20%, $hue: -20deg);
$line-color: rgba(50, 80, 150, 0.1); $line-color: rgba(50, 80, 150, 0.1);
$dark-line-color: rgba(50, 80, 150, 0.2); $dark-line-color: rgba(50, 80, 150, 0.2);

View File

@ -120,7 +120,7 @@ lightness($color)
alpha($color) /* aka opacity() */ alpha($color) /* aka opacity() */
``` ```
### Full adjustments ### Adjustments
```scss ```scss
/* Changes by fixed amounts */ /* Changes by fixed amounts */