aboutsummaryrefslogtreecommitdiffstats
path: root/en/doc/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'en/doc/index.php')
-rw-r--r--en/doc/index.php49
1 files changed, 10 insertions, 39 deletions
diff --git a/en/doc/index.php b/en/doc/index.php
index 81d58d620..f321dd9d8 100644
--- a/en/doc/index.php
+++ b/en/doc/index.php
@@ -11,42 +11,22 @@ require 'doc.php';
<html lang="<?php echo $locale; ?>" dir="ltr">
<head>
<meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
<title><?php _g('Mageia Documentation')?></title>
<meta name="description" content="<?php _g('Documentation for Mageia distribution and its tools.')?>">
<meta name="keywords" content="<?php _g('doc,documentation,help,guide,installer,installation,mageia,linux')?>">
- <link rel="stylesheet" href="/g/style/all.css" type="text/css">
- <link rel="stylesheet" type="text/css" href="/g/style/common_footer.css">
+ <?php echo common_header(); ?>
<?php include '../../analytics.php'; ?>
- <style>
- .flex-container {
- display: flex;
- flex-wrap:wrap;
- }
- .flex-item {
- flex: 1 150px;
- margin: 1em; width: 24em;
- }
- .dlt2 thead th, .dlt2 th.h {
- color: #aaa;
- font-size: 100%;
- }
- @media (max-width: 768px) {
- #doc6 { width:100%; }
- tbody { display: none; }
- }
- @media (min-width: 768px) {
- tbody { display: none; }
- }
+ <style>
+ tbody { display: none; }
</style>
</head>
<body class="doc">
<?php echo $hsnav; ?>
<h1 id="mgnavt"><?php _g('Mageia Documentation')?></h1>
- <div id="doc6" class="yui-t7" style="margin-bottom: 0px; max-width: 950px;">
+ <div id="doc" class="yui-t7">
<div id="bd" role="main">
<div class="yui-g">
- <div class="para donate" style="padding-top: 2em;">
+ <div class="para donate">
<h2><?php _g('Find your documentation')?></h2>
<p><?php _g('Select the manual, the release of Mageia and the language you want to see.')?><br/>
<?php _g('Documentation of old versions are available in the <a href="archive.php">archive page</a>.')?></p>
@@ -55,30 +35,21 @@ require 'doc.php';
<?php _g('Documentation built using the <a href="%s">Calenco tool from NeoDoc</a>.', 'http://www.neodoc.biz/', 'p')?>
<hr>
<h3>Mageia 5</h3>
- <div class="flex-container">
- <div class="flex-item">
+ <div class="row">
+ <div class="col">
<?php doc_list(_r('Installer'), 'installer', 5); ?>
</div>
- <div class="flex-item">
+ <div class="col">
<?php doc_list(_r('Control Center'), 'control_center', 5); ?>
</div>
- <div class="flex-item">
+ <div class="col">
<?php doc_list(_r('Installation from LIVE medium'), 'draklive', 5); ?>
</div>
- </div><!--flex-container-->
+ </div><!--row-->
</div>
</div>
</div>
</div>
<?php echo common_footer($locale); ?>
-<script type="text/javascript">
-function toggle_visibility(id) {
- var e = document.getElementById(id);
- if(e.style.display == 'table-row-group')
- e.style.display = 'none';
- else
- e.style.display = 'table-row-group';
-}
-</script>
</body>
</html>