diff options
Diffstat (limited to 'en')
-rw-r--r-- | en/index.php | 33 |
1 files changed, 11 insertions, 22 deletions
diff --git a/en/index.php b/en/index.php index 6738d796f..b1657331a 100644 --- a/en/index.php +++ b/en/index.php @@ -22,26 +22,20 @@ $dictionary = read_translation_file($locale, array('index', 'news', 'common_foot ?> <link rel="alternate" type="application/rss+xml" title="<?php _g('Mageia Blog (English)'); ?>" href="<?php _g('https://blog.mageia.org/en/?feed=rss'); ?>"> <?php require '../analytics.php'; ?> + <?php echo common_header(); ?> <style> - html, body { - margin: 0; - padding: 0; - font-family: "Trebuchet MS","Lucida Grande","Lucida Sans Unicode",Helvetica,Arial,Verdana,sans-serif; - line-height: 1.4; - } + hr { display: none; } ol, ul { margin: 0; padding: 0; list-style: none; } - h1, h2 { font-size: 40px; font-weight: normal; margin-top: 0; color: #fff !important; } + h1, h2 { font-size: 3rem; margin-top: 0; color: #fff !important; } #b1 { color: #fff !important; } - #mgnav { background: #fff !important; } - #lang_form { position: absolute; top: 0; right: 0; } + a[hreflang]:after { color:#d0d0ff; font-style:italic; content: "\A0["attr(hreflang)"]"; } #master { padding: 2em; border: 1px solid red; margin: 2em; - font-size: 90%; display: none; } @@ -60,9 +54,7 @@ $dictionary = read_translation_file($locale, array('index', 'news', 'common_foot */ } - .container { - margin: 0 auto; - max-width: 1024px; + #up .container { padding-bottom: 40px; } @@ -95,15 +87,13 @@ $dictionary = read_translation_file($locale, array('index', 'news', 'common_foot } span.dl-btn { display: block; - font-size: 90%; } span.dl-btn span.low { color: #777; - font-size: 75%; } p.dl-info { padding: 0 20px; - font-size: 75%; + font-size: 85%; } p.dl-info a { color: #fff; @@ -112,14 +102,14 @@ $dictionary = read_translation_file($locale, array('index', 'news', 'common_foot } .dl-btn-other { display: block; - width: 222px; + width: 280px; padding: 10px 20px 10px 20px; background: rgba(255,255,255, 0.1); border-radius: 4px; color: #ddeeff; text-shadow: none; text-decoration: none; - font-size: 75%; + font-size: 85%; } .dl-btn-other:hover { background: rgba(255,255,255, 0.2); @@ -130,7 +120,7 @@ $dictionary = read_translation_file($locale, array('index', 'news', 'common_foot #fnotes { text-align: center; - font: 60%/1.2 Verdana,Arial,sans-serif; + font: 85%/1.2 Verdana,Arial,sans-serif; color: #f0f0f0; } #fnotes a { color: #aaa; text-decoration: none; } @@ -181,7 +171,7 @@ $dictionary = read_translation_file($locale, array('index', 'news', 'common_foot text-decoration: none; font-size: 75%; } - #dl-btn { width: 222px; } + #dl-btn, .dl-btn-other { width: 222px; } .dl-btn-other:hover { background: rgba(255,255,255, 0.2); color: #fff; @@ -201,7 +191,6 @@ $dictionary = read_translation_file($locale, array('index', 'news', 'common_foot margin: 0 auto; display: table; border-radius: 4px; - font-size: 80%; margin-bottom: 20px; } #navb li { @@ -223,8 +212,8 @@ $dictionary = read_translation_file($locale, array('index', 'news', 'common_foot } } @media (min-width: 1200px) {} + </style> - <link rel="stylesheet" href="/g/fa/css/font-awesome.css"> </head> <body> <?php echo $hsnav?> |