From da8affb8273213cf58199b7fa71c44094c0ab237 Mon Sep 17 00:00:00 2001 From: Leighton Date: Thu, 2 Feb 2023 03:32:25 +0000 Subject: Update css formatting across all debian *.css files to be more consistent Removed excessive white space, set consistent tab spacing, replaced named colours (white and black) with hex values (#fff and #000) as well as replacing padding and margin values with more compact versions where possible. 'font-awesome.css' & 'docbook.css' are the only css files not modified in this commit. --- persian/debian-fa.css | 78 ++++++++++++++++++++------------------------------- 1 file changed, 30 insertions(+), 48 deletions(-) (limited to 'persian') diff --git a/persian/debian-fa.css b/persian/debian-fa.css index d3c668f700b..e1e07ed45c1 100644 --- a/persian/debian-fa.css +++ b/persian/debian-fa.css @@ -13,113 +13,95 @@ html[lang=fa] blockquote.quote p.last:after { content: "\00BB"; } /* If you find problem in persian css contact debian-l10n-persian mailing list */ html[lang=fa] #header { - padding:0 52px 0 10px; + padding:0 52px 0 10px; } html[lang=fa] #logo { - left:auto; - right:0; - direction:ltr; + left: auto; + right: 0; + direction: ltr; } html[lang=fa] #searchbox { - left:0; - right: auto; + left: 0; + right: auto; } html[lang=fa] #navbar li { - float:right; + float: right; } html[lang=fa] #content, html[lang=fa] #footer { - margin:0 52px 0 10px; + margin:0 52px 0 10px; } html[lang=fa] #langContainer { - direction:ltr; - text-align:right; + direction: ltr; + text-align: right; } - html[lang=fa] ul#hometoc-cola, html[lang=fa] ul#hometoc-colb, html[lang=fa] ul#hometoc-colc, html[lang=fa] ul#hometoc-cold, html[lang=fa] ul#hometoc-cole { float: right; } - html[lang=fa] ul#footermap-cola, html[lang=fa] ul#footermap-colb, html[lang=fa] ul#footermap-colc, html[lang=fa] ul#footermap-cold, html[lang=fa] ul#footermap-cole { - float: right; + float: right; } - html[lang=fa] ol, html[lang=fa] ul { - padding-right: 1.5em; - padding-left: 0; + padding-right: 1.5em; + padding-left: 0; } - html[lang=fa] span.download { - left: 13px; - right: auto; + left: 13px; + right: auto; } - html[lang=fa] a.rss_logo { float: left; } - html[lang=fa] ol { - list-style-type: -moz-persian; - list-style-type: persian; + list-style-type: -moz-persian; + list-style-type: persian; } - html[lang=fa] body { - font-family: Tahoma, 'DejaVu Sans', sans-serif; + font-family: Tahoma, 'DejaVu Sans', sans-serif; } /* --- */ - html[lang=fa] #header, html[lang=fa] #footer, html[lang=fa] #breadcrumbs, html[lang=fa] #second-nav, html[lang=fa] #navbar ul, html[lang=fa] h1, h2, h3, h4, h5, h6 { - direction: rtl; - font-family: Tahoma, 'DejaVu Sans', sans-serif; + direction: rtl; + font-family: Tahoma, 'DejaVu Sans', sans-serif; } /* Change the direction of "Animating Underlines" from LTR to RTL */ - html[lang=fa] .styled-href-blue a::after, html[lang=fa] .project-news-content a::after { - right: 0; + right: 0; } - /* Adjust padding direction of "Project News" section on the home page. */ - html[lang=fa] .project-news { - margin-left: 0%; - margin-right: 15%; + margin-left: 0; + margin-right: 15%; } - - html[lang=fa] .project-news-content { - padding-left: 0px; - padding-right: 110px; + padding-left: 0; + padding-right: 110px; } - html[lang=fa] a:link.rss_logo { - float: left; - margin-left: 0em; + margin-left: 0; margin-right: 0.25em; } - - html[lang=fa] .end-of-list-arrow { - -moz-transform: rotate(180deg); - left: 0em; - right: 3.5em; + -moz-transform: rotate(180deg); + left: 0; + right: 3.5em; } /* Adjust the slider's direction on the home page. */ - html[lang=fa] .slider-wrapper, html[lang=fa] .slider-prev-next-control, html[lang=fa] .slider-dot-control { - direction: ltr; + direction: ltr; } -- cgit v1.2.3