aboutsummaryrefslogtreecommitdiffstats
path: root/en/community
diff options
context:
space:
mode:
authorManuel Hiebel <leuhmanu@mageia.org>2017-07-05 10:56:03 +0200
committerManuel Hiebel <leuhmanu@mageia.org>2017-07-05 10:56:03 +0200
commit4d698ae14ddd4801897cf2ccf4e929deee81a944 (patch)
treecaa8203c41c1519c7ba96cca40a726097ec8afb7 /en/community
parent29731943ca2d537e35e6fea00fe5d96bf223c345 (diff)
downloadwww-4d698ae14ddd4801897cf2ccf4e929deee81a944.tar
www-4d698ae14ddd4801897cf2ccf4e929deee81a944.tar.gz
www-4d698ae14ddd4801897cf2ccf4e929deee81a944.tar.bz2
www-4d698ae14ddd4801897cf2ccf4e929deee81a944.tar.xz
www-4d698ae14ddd4801897cf2ccf4e929deee81a944.zip
more page to adapt for bootstrap
+replace custom .css with common header +clean of inline style
Diffstat (limited to 'en/community')
-rw-r--r--en/community/index.php25
1 files changed, 13 insertions, 12 deletions
diff --git a/en/community/index.php b/en/community/index.php
index ba53b637a..d2d84b7af 100644
--- a/en/community/index.php
+++ b/en/community/index.php
@@ -14,17 +14,16 @@ include '../../lib/news.php';
<meta name="description" content="<?php _g('Mageia Community Central is the place where all contributors and users can find the latest news about Mageia and learn more about what to do in the project.')?>">
<meta name="keywords" content="<?php _g('mageia, community, news, tools, tasks')?>">
<meta name="author" content="Mageia">
- <link rel="stylesheet" type="text/css" href="/g/style/all.css">
- <link rel="stylesheet" type="text/css" href="/g/style/common_footer.css">
+ <?php include '../../analytics.php'; ?>
+ <?php echo common_header(); ?>
<style>
#newslist { list-style: none; margin: 0; padding: 0; }
#newslist > li { list-style: none; padding: 0.6em 0.9em; }
- #newslist li:first-child { font-weight: bold; outline: 1px solid #fa8; margin-bottom: 0.4em; background: #fffaf0; }
+ #newslist li:first-child { font-weight: bold; border: 1px solid #fa8; margin-bottom: 0.4em; background: #fffaf0; border-radius: .5rem;}
#newslist > li .dt { display: block; font-size: 80%; color: #888; }
.para { text-align: left; float: left; width: 250px; display: block; border-right: 1px solid #eef; border-bottom: 1px solid #eef; }
hr { margin-top: 2em; }
</style>
- <?php include '../../analytics.php'; ?>
</head>
<body class="community">
<?php echo $hsnav; ?>
@@ -43,9 +42,9 @@ include '../../lib/news.php';
<li><a href="//people.mageia.org/"><?php _g('People');?></a></li>
</ul>
</header>
- <div id="doc6" class="yui-t7" style="margin-bottom: 0px; max-width: 950px;">
- <div class="yui-ge">
- <div class="para" style="width: 400px;">
+ <div id="doc6" class="container">
+ <div class="yui-ge row justify-content-center">
+ <div class="col">
<section>
<?php
if ((strpos($locale, 'en') === 0) || (_r('https://planet.mageia.org/en/') != 'https://planet.mageia.org/en/')) {
@@ -65,7 +64,7 @@ include '../../lib/news.php';
?></p>
</section>
</div>
- <div class="para" style="width: 300px">
+ <div class="col">
<h2><a href="../contribute/"><?php _g('How to contribute?')?></a></h2>
<ul class="hl">
<li><a href="../contribute/"><?php echo _r('Start here')?></a>,</li>
@@ -91,7 +90,8 @@ include '../../lib/news.php';
<li><a href="//check.mageia.org/"><?php _g('Global QA report')?></a></li>
</ul>
</div>
- <div class="para">
+ <div class="w-100"></div>
+ <div class="col">
<h2><?php _g('Conversations')?></h2>
<p><?php _g('... or, how to get in touch with us? Easy:')?></p>
<ul class="hl">
@@ -109,7 +109,7 @@ include '../../lib/news.php';
</section>
-->
</div>
- <div class="para">
+ <div class="col">
<h2><?php _g('Teams you can join!')?></h2>
<ul class="hl">
<li><a href=<?php _g('"https://wiki.mageia.org/en/Atelier_team" hreflang="en"')?>><?php _g('Atelier')?></a></li>
@@ -121,7 +121,7 @@ include '../../lib/news.php';
<li><a href=<?php _g('"https://wiki.mageia.org/en/Bugsquad" hreflang="en"')?>><?php _g('Bugs triaging')?></a></li>
</ul>
</div>
- <div class="para">
+ <div class="col">
<h2><?php _g('Mageia')?></h2>
<ul class="hl">
<li><a href="../about/"><?php _g('More about Mageia')?></a></li>
@@ -135,7 +135,8 @@ include '../../lib/news.php';
<li><?php _g('<a href="../donate/">Donations</a> &amp; <a href="../about/reports/">reports</a>.')?></li>
</ul>
</div>
- <p style="clear: both; text-align: center;"><mark><?php _g('This page needs you! <a href="https://wiki.mageia.org/en/Web_team">Join the Web team</a>!')?></mark></p>
+ <div class="w-100"></div>
+ <p style="clear: both; text-align: center;"><mark class=mark"><?php _g('This page needs you! <a href="https://wiki.mageia.org/en/Web_team">Join the Web team</a>!')?></mark></p>
</div>
</div>
<?php echo common_footer($locale); ?>