aboutsummaryrefslogtreecommitdiffstats
path: root/english/startpage.css
diff options
context:
space:
mode:
authorCarsten Schoenert <c.schoenert@t-online.de>2019-04-20 21:47:13 +0200
committerLaura Arjona Reina <larjona@debian.org>2019-12-13 19:39:56 +0100
commit241e08f7e060be238e371140786e7ccb5e53b29c (patch)
treee9e163bfab09e129c14f7ba137dc2b36ce31c653 /english/startpage.css
parent284a823dfd48944ea3a91025163b5569cd2f7ee4 (diff)
startpage.css: adding classes for Why Debian section
Diffstat (limited to 'english/startpage.css')
-rw-r--r--english/startpage.css39
1 files changed, 39 insertions, 0 deletions
diff --git a/english/startpage.css b/english/startpage.css
index a72068c0206..029d8c27b87 100644
--- a/english/startpage.css
+++ b/english/startpage.css
@@ -278,6 +278,45 @@ a.btn:hover {
}
/* END Classes used within 'Project News' */
+/* Classes used within 'Why Debian' */
+ol.why-debian {
+ list-style-type: none;
+ list-style-type: decimal !ie; /*IE 7- hack*/
+ margin: 0;
+ font-size: 1.1em;
+ padding-left: 15%;
+ counter-reset: li-counter;
+}
+ol.why-debian > li {
+ position: relative;
+ margin: 1.5em 0 2.5em 0;
+ padding: 1.3em;
+ background-color: #eaeaea;
+ max-width: 75%;
+}
+
+ol.why-debian > li:before {
+ position: absolute;
+ top: -0.5em;
+ left: -0.8em;
+ width: 1.8em;
+ height: 1.2em;
+ font-size: 2em;
+ line-height: 1.2;
+ font-weight: bold;
+ text-align: center;
+ color: #ffffff;
+ background-color: #a80030; /* The color of the swirl.*/
+ transform: rotate(-15deg);
+ -ms-transform: rotate(-15deg);
+ -webkit-transform: rotate(-15deg);
+ z-index: 99;
+ overflow: hidden;
+ content: counter(li-counter);
+ counter-increment: li-counter;
+}
+/* END Classes used within 'Why Debian' */
+
@media screen and (min-width: 800px) {
.column {
flex: 1;

© 2014-2024 Faster IT GmbH | imprint | privacy policy