diff --git a/.gitignore b/.gitignore index acadb23..b1a2ad1 100644 --- a/.gitignore +++ b/.gitignore @@ -10,7 +10,10 @@ # User-specific stuff: -/.idea/* +.idea/workspace.xml +.idea/tasks.xml +.idea/deployment.xml +.idea/webServers.xml # Sensitive or high-churn files: .idea/dataSources/ diff --git a/website/index.php b/website/index.php index b594d58..b808caf 100644 --- a/website/index.php +++ b/website/index.php @@ -1,21 +1,145 @@ - - - + + + MyHyvesbook+ + + +
+ MyHyvesbook+ +
- /* Add your view files here. */ - include("views/homepage.php"); +
+

Welkom

+
+ + +
- /* This adds the footer. */ - include("views/footer.php"); - ?> - +
+ + +
+ +
+ +
+
+ +
+ +
+ +
+ +
+ + + + + diff --git a/website/search.php b/website/search.php new file mode 100644 index 0000000..6a045c3 --- /dev/null +++ b/website/search.php @@ -0,0 +1,21 @@ + + + + + + + diff --git a/website/styles/index.css b/website/styles/index.css new file mode 100644 index 0000000..6823115 --- /dev/null +++ b/website/styles/index.css @@ -0,0 +1,135 @@ +/* Body */ +body { + background-color: #B78996; +} + +/* Bordered form */ +form { + background-color: #a87a87; + border: 5px solid #325da3; + border-radius: 12px; + height: 50%; + margin: auto; + width: 45%; +} + +h1 { + padding: 16px; + text-align: center; +} + +h2 { + padding: 16px; + text-align: left; +} + +label { + display: block; +} + +/* Full-width inputs */ +input[type=text], input[type=password], input[type=email] { + border-radius: 12px; + border: 5px solid #ccc; + box-sizing: border-box; + display: inline-block; + height: 50%; + padding: 12px 20px; + margin: 8px 0; + width: 50%; +} + +input[type=submit]{ + background-color: #845663; + border: 2px solid black; + border-radius: 12px; + color: white; + cursor: pointer; + height: 50%; + margin: 8px 0; + padding: 14px 20px; + width: 50%; +} + +/* Set a style for all buttons */ +button { + background-color: #845663; + border: 2px solid black; + border-radius: 12px; + color: white; + cursor: pointer; + height: 50%; + margin: 8px 0; + padding: 14px 20px; + width: 25%; +} + +/* Add padding to containers */ +.container { + padding: 16px; + text-align: left; +} + +.containercenter { + padding: 16px; + text-align: center; +} + +/* The Modal (background) */ +.modal { + background-color: rgb(0,0,0); /* Fallback color */ + background-color: rgba(0,0,0,0.4); /* Black w/ opacity */ + display: none; /* Hidden by default */ + height: 100%; + left: 0; + margin: auto; + overflow: auto; /* Enable scroll if needed */ + padding-top: 60px; + position: fixed; /* Stay in place */ + top: 0; + width: 100%; /* Full width */ + z-index: 1; /* Sit on top */ +} + +/* Modal Content/Box */ +.modal-content { + background-color: #B78996; + border: 5px solid #325da3; + margin: 5px auto; /* 15% from the top and centered */ + overflow-y: auto; + width: 50% /* Could be more or less, depending on screen size */ +} + +/* The Close Button */ +.close { + /* Position it in the top right corner outside of the modal */ + color: white; + font-size: 100px; + font-weight: bold; + position: absolute; + right: 25px; + top: 0; +} + +/* Close button on hover */ +.close:hover, +.close:focus { + color: red; + cursor: pointer; +} + +/* Add Zoom Animation */ +.animate { + animation: animatezoom 0.6s + -webkit-animation: animatezoom 0.6s; +} + +@-webkit-keyframes animatezoom { + from {-webkit-transform: scale(0)} + to {-webkit-transform: scale(1)} +} + +@keyframes animatezoom { + from {transform: scale(0)} + to {transform: scale(1)} +} diff --git a/website/styles/main.css b/website/styles/main.css index fb50ae3..52df4f0 100644 --- a/website/styles/main.css +++ b/website/styles/main.css @@ -41,6 +41,13 @@ body { min-height: 100%; } +.platform { + padding: 20px; + border-radius: 10px; + background-color: #FFFFFF; + box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24); +} + ::selection { background: #845663; color: white; @@ -120,7 +127,7 @@ td { } /* Custom title box, appears instantaneously */ -a:hover, img:hover, span:hover, div:hover { +a[data-title]:hover, img[data-title]:hover, span[data-title]:hover, div[data-title]:hover { position: relative; } diff --git a/website/template.php b/website/template.php new file mode 100644 index 0000000..b594d58 --- /dev/null +++ b/website/template.php @@ -0,0 +1,21 @@ + + + + + + + diff --git a/website/views/header.php b/website/views/header.php index 45cb2b9..86686a5 100644 --- a/website/views/header.php +++ b/website/views/header.php @@ -3,15 +3,15 @@ MyHyvesbook+
- | - | + | + |
diff --git a/website/views/search-view.php b/website/views/search-view.php new file mode 100644 index 0000000..4116e31 --- /dev/null +++ b/website/views/search-view.php @@ -0,0 +1,5 @@ +
+
+ Hey +
+
\ No newline at end of file