diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-06-23 21:30:50 +0200 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-06-23 21:30:50 +0200 |
commit | 23ebbaf332efa60636cbb573259ac8e8a3801655 (patch) | |
tree | e0202a16194e9dc7eb5c990568b4fddc09893ee3 | |
parent | Adding a license page for the LICENSE (diff) | |
download | joe-www-23ebbaf332efa60636cbb573259ac8e8a3801655.tar.gz joe-www-23ebbaf332efa60636cbb573259ac8e8a3801655.tar.bz2 joe-www-23ebbaf332efa60636cbb573259ac8e8a3801655.tar.xz joe-www-23ebbaf332efa60636cbb573259ac8e8a3801655.tar.zst joe-www-23ebbaf332efa60636cbb573259ac8e8a3801655.zip |
License page seems great
Diffstat (limited to '')
-rw-r--r-- | css/site.css | 13 | ||||
-rw-r--r-- | inc/classic-contents.inc.php | 6 | ||||
-rw-r--r-- | license.php | 23 |
3 files changed, 25 insertions, 17 deletions
diff --git a/css/site.css b/css/site.css index d467b02..0b947be 100644 --- a/css/site.css +++ b/css/site.css @@ -1,5 +1,6 @@ body { margin: 0 auto; + width: 100%; height: 100%; min-height: 100%; } @@ -98,7 +99,6 @@ div.sidebar ul { div.body-contents { padding: 5pt 0 5pt 0; padding-bottom: 2.5rem; - width: 100%; margin-left: 20%; margin-right: 20%; } @@ -121,13 +121,20 @@ div.body-contents h2 { } div.body-contents code { - background-color: #f4f4f4; + background-color: #e4e4e4; + border-radius: 5px; + padding: 2px 5px 2px 5px; } div.body-contents pre { background-color: #e4e4e4; + border-radius: 5px; display: block; - margin: 0em 20% 0em 1em; + margin: 0; + width: 80%; + overflow: auto; + margin-left: 1em; + margin-right: 1em; padding: 10px 10px 10px 10px; white-space: pre; } diff --git a/inc/classic-contents.inc.php b/inc/classic-contents.inc.php index 9444ede..3c35453 100644 --- a/inc/classic-contents.inc.php +++ b/inc/classic-contents.inc.php @@ -23,7 +23,7 @@ jo_sidebar() { <div class="sidebar"> <ul> <li> - <a href="index.html">Home</a> + <a href="index.php">Home</a> </li> <li> <a href="">C</a> @@ -61,8 +61,8 @@ jo_footer() { ?> <footer> <p> - Copyright Rudy Bousset 2020 - - see <a href="LICENSE">LICENSE</a> - + Copyright © 2020, Rudy Bousset - + see <a href="license.php">LICENSE</a> - we do not use cookies </p> </footer> diff --git a/license.php b/license.php index 40b464b..8e6fdb6 100644 --- a/license.php +++ b/license.php @@ -1,20 +1,21 @@ <?php include 'inc/classic-contents.inc.php'; ?> -<?php jo_head("Home"); ?> +<?php jo_head("LICENSE"); ?> <?php jo_sidebar(); ?> <div class="body-contents"> - <h1>About this site</h1> + <h1>BSD 3-Clause</h1> <p> - Welcome to my personnal blog. Here you can find my tips and articles - on various tech and programming subjects. - <br><br> - The site is still in active developpement, stay tuned. + This site is copyrighted under the BSD 3-Clause License. + You can find the terms of the license bellow: </p> - <h1>About me</h1> + <pre> +<?php +$license = file_get_contents('LICENSE'); +echo "$license"; +?> + </pre> <p> - I am a student for - <a href="https://www.42lyon.fr/" target="_blank">42Lyon</a> - IT school based in Lyon, France. - I work on various personnal project beside that. + You also can download the license using + <a href="LICENSE">this link</a>. </p> </div> <?php jo_footer(); ?> |