css: replace background image with pure-CSS alternative

This commit is contained in:
mappu 2020-05-24 17:49:51 +12:00
parent 7dc82fef8b
commit 8bf41bc242
2 changed files with 8 additions and 2 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.9 KiB

View File

@ -48,7 +48,6 @@ h1 {
html, body {
/* structural */
height:100%;
min-height:100%;
margin:0;
border:0;
@ -58,10 +57,17 @@ html, body {
font-family:"Helvetica Neue","Segoe UI",Arial,sans-serif;
font-size:13px;
line-height:1.4;
background:#DDD url('greyzz.png'); /* thanks subtlepatterns.com ! */
color:#333;
}
/* Create background pattern by layering two gradients */
html {
background: repeating-linear-gradient(45deg, #FFF, #f8f8f8 5px, #fff 10px);
}
body {
background: repeating-linear-gradient(135deg, rgba(255,255,255,0), rgba(255,255,255,255) 5px, rgba(255,255,255,0) 10px);
}
#container {
margin:0 auto;
width:960px;