Re: help us fix the background for website banner for Stretch

Aurélien COUDERC <[email protected]>
Newsgroups gmane.linux.debian.devel.www
Message-ID <[email protected]>
Le 18/06/2017 à 21:45, Aurélien COUDERC a écrit :
> - Use a color from the theme for the download link box instead of the
> green.
While not having more clue about design than yesterday, please find an
updated patch using a lighter color (still taken from softTheme’s
background) that I like better than the first try.


Cheers,
--Aurélien
debhome-softwaves-patch2.diff (text/x-patch, 1.8 KB)
diff --git a/debhome.css b/debhome.css
index f185163..c5d396f 100644
--- a/debhome.css
+++ b/debhome.css
@@ -27,7 +27,7 @@
 	background-image: url('Pics/softwaves_web_bg.png');
 	background-position:top center;
 	background-repeat: no-repeat;
-	background-size: 100%;
+	background-size: 100% 100%;
 	margin-top: 0;
 	margin-bottom: 1.5em;
 	text-align: center;
@@ -51,30 +51,31 @@ span.download {
 	right: 13px;
 	font-size: 0.75em;
 	line-height: 2;
-	background-color: white;
 	margin-top: 10px;
 }
 span.download a {
 	color: white;
 	font-weight: bold;
 	text-decoration: none;
-	border: 0.15em solid #339900;
+	border: 0.15em solid #829993; /* softWaves color */
 	display: block;
 	background: transparent url('Pics/emblem-downloads.png') no-repeat 5px 5px; 
 	padding-left: 30px;
 	padding-right: 1em;
-	color:#339900;
+	color:#829993; /* softWaves color */
+	border-radius: 4px;
+	background-color: white;
 }
 span.download a:hover {
 	text-decoration: none;
 	color: white;
-	background-color: #339900;
+	background-color: #829993; /* softWaves color */
 }
 span.download a em {
 	font-size: 0.75em;
 	font-weight: normal;
 	clear: right;
-	color: #339900;
+	color: #829993; /* softWaves color */
 	line-height: 0.5em;
 	font-style: normal;
 	display: block;
@@ -82,7 +83,7 @@ span.download a em {
 }
 span.download a:hover em {
 	color: white; 
-	background-color: #339900;
+	background-color: #829993; /* softWaves color */
 }
 #announce {
 	text-align: center;
@@ -198,7 +199,7 @@ li.frontbutton {
  * For small screens
  */
 
-@media only screen and (max-width: 38em) {
+@media only screen and (max-width: 60em) {
 	div#content {
 		background-image: none;
 	}
@@ -210,4 +211,8 @@ li.frontbutton {
 		right: 0;
 		margin: 0;
 	}
+	
+	span.download a {
+		border-radius: 0;
+	}
 }
signature.asc (application/pgp-signature, 858 B)
-----BEGIN PGP SIGNATURE-----

iQJFBAEBCAAvFiEEIW//QAAaDgcOKDsfcaflM/KRoyQFAllIJC0RHHplY291Y291
QGZyZWUuZnIACgkQcaflM/KRoyQm3xAAjh46slPoluR1jxhiwsfx/vGUsjODVvuA
FpPr/VpYo8PwnyT8qNGlzWKoIjOQBbi/XZUuq780CARuTzCj9uCB/+VKV3U6NjFE
TYdRLOhuFOJ8iBXzek9W/EP2gm1dqIzXk8a5aLDUtHh/G72yfhuJBxICyE+/B5H9
7gIS+QgoNjFUQDiS04UaZAnDEog9caN8SLPHrPklmQKMlM5BYFkAKNzEncSBrlxN
SjOvc3bGQ03r2BOe0kWXa4fZcWXiHWn3pwWFkyzYdljA+xWuGII5HEHRBZnSL60/
tDY6+emFb806PlNL9ePMFJEnGLccK3exSjh0+Jky0nX34zMoqUH2cWmrPHO2rri+
nMpX5WgfaVgLwNxeiP6fNCuCsnJlPhfPNPdoDjzqhEWlHAKjUV7kS7o7hGjoyK+1
P7+ouj08v/fDTU5JF5jNKtvlm7wU9CH5AoGuGhBDNBzneHzqgfiWGRidy/vviKGG
zQvcdruEEtEUB5gj1mmUV6N8KkVl0bA9LtvmxNiX1umRIkX8SoCnHLT533lEaxXH
LVceiZSWj0kITni3edP9JzP6g1N/53ZhOw89ePrUAvuifj7TaAizlp1DT3QWhfhC
KEXuvhNii75si308oIn6p3LohaftBAqZfLtpABg304Mghm0DD4btv+0DujfxBPyF
E+LjJOzxqdg=
=7Zw8
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.