summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Monjalon <thomas@monjalon.net>2019-05-20 23:34:01 +0200
committerThomas Monjalon <thomas@monjalon.net>2019-05-20 23:36:08 +0200
commita42aa67a5d5627061ff6a04fef00d58b8051e6ef (patch)
treea4d8cbd659e8ea6558966884d8bf308e0f49db29
parentcb355cf1ab88f02aa179e37be0015f719a07b690 (diff)
downloaddpdk-web-a42aa67a5d5627061ff6a04fef00d58b8051e6ef.zip
dpdk-web-a42aa67a5d5627061ff6a04fef00d58b8051e6ef.tar.gz
dpdk-web-a42aa67a5d5627061ff6a04fef00d58b8051e6ef.tar.xz
fix header background
The background image of the header h1 was wrongly positioned and repeated because wrongly sized. It is now centered and stretched to cover the box. Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
-rw-r--r--static/css/dpdk.css4
1 files changed, 2 insertions, 2 deletions
diff --git a/static/css/dpdk.css b/static/css/dpdk.css
index 8e2a15d..7e812ef 100644
--- a/static/css/dpdk.css
+++ b/static/css/dpdk.css
@@ -11,7 +11,7 @@ header .logo img {
}
.main-hero {
- background: linear-gradient(rgba(86,15,125,.5),rgba(255,99,0,.5)), url('/img/bg_tunnel.jpg');
+ background: linear-gradient(rgba(86,15,125,.5),rgba(255,99,0,.5)), url('/img/bg_tunnel.jpg') center/cover;
color: #fff;
width: 100%;
margin-top: 2%;
@@ -66,7 +66,7 @@ ul li a:active {
}
article section.page h1:first-of-type {
- background: linear-gradient(rgba(86,15,125,.5),rgba(63,16,99,.5)), url('/img/bg_tunnel.jpg');
+ background: linear-gradient(rgba(86,15,125,.5),rgba(63,16,99,.5)), url('/img/bg_tunnel.jpg') center/cover;
color: #fff;
width: 100%;
margin-top: 2%;