From 4d79ea6484db9730fa54839144e4470e586ef9dc Mon Sep 17 00:00:00 2001 From: Thomas FORGIONE Date: Sat, 11 Apr 2015 17:08:43 +0200 Subject: [PATCH] Added css and improved aspect --- bouncing/index.php | 9 ++++++-- css/style.css | 44 ++++++++++++++++++++++++++++++++++++ include/header_functions.php | 4 +++- include/nav.php | 18 +++++++-------- index.php | 1 + multisphere/index.php | 11 ++++++++- scene/index.php | 17 +++++++++++++- stream/index.php | 17 +++++++++++++- 8 files changed, 106 insertions(+), 15 deletions(-) create mode 100644 css/style.css diff --git a/bouncing/index.php b/bouncing/index.php index 55429e8..9ea9531 100644 --- a/bouncing/index.php +++ b/bouncing/index.php @@ -5,8 +5,13 @@ -

Here is stuff

-
+
+

Bouncing cube

+

+ Click on the cube to make it jump ! +

+
+
diff --git a/css/style.css b/css/style.css new file mode 100644 index 0000000..c76c0fe --- /dev/null +++ b/css/style.css @@ -0,0 +1,44 @@ +body { + font-family: Ubuntu; + margin-left: auto; + margin-right: auto; + width: 1024px; +} + +header { + text-align: center; +} + +nav { + margin-bottom: 25px; +} + +nav ul { + list-style-type: None; + text-align: center; +} + +nav ul li { + display: inline-block; + width: 18%; +} + +nav a { + color: black; + text-decoration: None; + font-weight: normal; +} + +nav a:hover { + font-weight: bold; +} + +nav a:visited { +} + +section { +} + +#container { + position: static; +} diff --git a/include/header_functions.php b/include/header_functions.php index 2fbe8fb..412215b 100644 --- a/include/header_functions.php +++ b/include/header_functions.php @@ -4,7 +4,9 @@ { echo "\n\t\n"; echo "\t\tThe begining - " . $title . "\n"; - echo "\t\t\n"; + echo "\t\t\n"; + echo "\t\t\n"; + echo "\t\t\n"; echo "\t\n\n"; } diff --git a/include/nav.php b/include/nav.php index 4e98bc1..c75b6b5 100644 --- a/include/nav.php +++ b/include/nav.php @@ -1,11 +1,11 @@ - + diff --git a/index.php b/index.php index 663f7e3..64ac871 100644 --- a/index.php +++ b/index.php @@ -6,6 +6,7 @@
+

Index