1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-04-25 12:56:41 +07:00

fixed textures

This commit is contained in:
Fedor Katurov 2019-10-21 19:42:11 +07:00
parent 88333e36b7
commit d22c1f64d0
6 changed files with 14 additions and 8 deletions

View file

@ -15,10 +15,13 @@ $green_gradient: linear-gradient(170deg, adjust_hue($wisegreen, 15deg) 0%, $wise
$purple_gradient: linear-gradient(170deg, $red, $dark_blue);
$cyan_gradient: linear-gradient(260deg, #3c75ff -50%, #7b2653 150%);
$main_bg_color: #2c2b2b;
$main_gradient: $green_gradient;
// $main_bg_color: darken(#2c2b2b, 4%);
$main_bg_color: darken(#2c2d2d, 6%);
$main_text_color: white;
$content_bg: darken($main_bg_color, 6%);
$content_bg: darken($main_bg_color, 0%);
$content_bg_secondary: darken($content_bg, 2%);
$cell_bg: lighten($main_bg_color, 0%);
@ -34,7 +37,7 @@ $button_bg_color: $red_gradient;
$comment_bg: lighten($content_bg, 2%);
$panel_bg: transparent;
$node_bg: darken($content_bg, 4%);
$node_bg: darken($content_bg, 2%);
$node_image_bg: darken($main_bg_color, 7%);
$node_title_background: darken($main_bg_color, 8%);

View file

@ -7,7 +7,8 @@ html {
body {
background: darken($main_bg_color, 12%);
min-height: 100vh;
background: url('http://vault48.org/pixmaps/texture.jpg');
// background: url('http://vault48.org/pixmaps/texture.jpg');
background: url('../../src/sprites/noise.png') $main_bg_color;
color: $main_text_color;
font: $font_16_regular;
-webkit-font-smoothing: antialiased;
@ -18,12 +19,14 @@ body {
&::before {
content: '';
position: absolute;
height: 400px;
height: 600px;
width: 100%;
top: 0;
left: 0;
z-index: -1;
background: url('http://vault48.org/pixmaps/texture_alt.jpg');
// background: url('http://vault48.org/pixmaps/texture_alt.jpg');
background: url('../../src/sprites/noise_top.png') 0% 0%;
background-size: 600px 600px;
pointer-events: none;
}
}