Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
58 changes: 48 additions & 10 deletions public/about.css
Original file line number Diff line number Diff line change
@@ -1,17 +1,29 @@

* {
font-weight: 200;
}
#main-nav {
background-color: lightblue;
background-color: rgb(0,0,0);
text-align: center;
font-family: 'Roboto', sans-serif;
color: white;
position:absolute;
top:0;
left:0;
right:0;
width:100%;
}

#main-nav li:hover {
background-color: lavender;
color: black;
color: white;
transform: scale(1.2);
text-shadow: none;
background-color: rgb(101,8,8);
}

#main-nav li {
display: inline-block;
position: relative;
transition: color 0.3s ease, transform 0.3s ease, background-color 0.3s ease;
}

#main-nav ul li {
Expand All @@ -21,24 +33,39 @@
text-align: center;
}

#pageTitle {
margin-top: 75px;
text-align: center
}

a {
text-decoration: none;
color: inherit;
}

body {

background-color: rgb(18,18,18);
font-family: 'Roboto';
color: white;
padding: 20px;
margin: 0;
animation: fadeIn 1s ease-in-out;
opacity: 0;
animation-fill-mode: forwards;
}

#pageTitle {
background-color: white;
text-align: center;
@keyframes fadeIn {
from {
opacity: 0;
}
to {
opacity: 1;
}
}


.students {
background-color: lightblue;
background-color: black;
display: inline-block;
border: 2px black solid;
padding-left: 200px;
Expand All @@ -62,9 +89,20 @@ body {
.project {
display:inline-block;
border: 2px black solid;
background-color: antiquewhite;
background-color: black;
}

li {
font-weight: bold;
}

h2 {
text-decoration: underline;
text-decoration-color: rgb(101,8,8);
text-underline-offset: 8px;
}

img {
max-width: 40px;
max-height: 40px;
}
19 changes: 8 additions & 11 deletions public/about.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,17 @@
<head>
<title>About</title>
<link rel="stylesheet" href="about.css">
<link href='https://fonts.googleapis.com/css?family=Roboto' rel='stylesheet'>
</head>

<body>

<!-- Nav Section -->
<nav id="main-nav">
<ul>
<li><a href="home.html">Home</a></li>
<li><a href="search.html">Search</a></li>
<li><a href="about.html">About</a></li>
<li><a href="home.html">HOME</a></li>
<li><a href="search.html">SEARCH</a></li>
<li><a href="about.html">ABOUT</a></li>
</ul>
</nav>

Expand All @@ -38,14 +39,10 @@ <h3>node.js and Express</h3>

<div class="students">
<h2 id="stdnt_title">Admins</h2>
<h3 id="name">Michelle Starcher</h3>
<a id="github" href="https://github.com/mtstarcher">GitHub</a>
<h3 id="name">Amanuel Kebede Tsehay</h3>
<a id="github" href="https://github.com/readmeastory">GitHub</a>
<h3 id="name">Shaina Silawan</h3>
<a id="github" href="https://github.com/ssilawan">GitHub</a>
<h3 id="name">Justin Guzman</h3>
<a id="github" href="https://github.com/justing25">GitHub</a>
<h3 id="name">Michelle Starcher</h3><a id="github" href="https://github.com/mtstarcher"><img src="https://img.icons8.com/ios11/512/FFFFFF/github.png" alt="github icon"></a>
<h3 id="name">Amanuel Kebede Tsehay</h3><a id="github" href="https://github.com/readmeastory"><img src="https://img.icons8.com/ios11/512/FFFFFF/github.png" alt="github icon"></a>
<h3 id="name">Shaina Silawan</h3><a id="github" href="https://github.com/ssilawan"><img src="https://img.icons8.com/ios11/512/FFFFFF/github.png" alt="github icon"></a>
<h3 id="name">Justin Guzman</h3><a id="github" href="https://github.com/justing25"><img src="https://img.icons8.com/ios11/512/FFFFFF/github.png" alt="github icon"></a>
</div>
</div>
</body>
Expand Down
146 changes: 75 additions & 71 deletions public/home.css
Original file line number Diff line number Diff line change
@@ -1,123 +1,127 @@

#main-nav {
font-weight: bold;
background-color: lightblue;
text-align: center;
background-color: rgb(0,0,0);
text-align: center;
font-family: 'Roboto', sans-serif;
color: white;
position:absolute;
top:0;
left:0;
right:0;
width:100%;
}

#main-nav li:hover {
background-color: lavender;
color: black;
color: white;
transform: scale(1.2);
text-shadow: none;
background-color: rgb(101,8,8);
}

#main-nav li {
display: inline-block;
position: relative;
display: inline-block;
position: relative;
transition: color 0.3s ease, transform 0.3s ease, background-color 0.3s ease;
}

#main-nav ul li {
list-style-type: none;
display: inline-block;
padding: 10px;
text-align: center;
list-style-type: none;
display: inline-block;
padding: 10px;
text-align: center;
}

#pageTitle {
margin-top: 75px;
text-align: center
}

a {
text-decoration: none;
color: inherit;
text-decoration: none;
color: inherit;
}

body {
background-color: lightcyan;
background-color: rgb(18,18,18);
font-family: 'Roboto';
color: white;
padding: 20px;
margin: 0;
animation: fadeIn 1s ease-in-out;
opacity: 0;
animation-fill-mode: forwards;
}

#pageTitle {
text-align: center;
@keyframes fadeIn {
from {
opacity: 0;
}
to {
opacity: 1;
}
}



/* Swiper container Styling (Some elements below do not appear on HTML file since they are being created in JS */

/* Entire swiper container */
.swiper-container {
padding: 10px;
width: 100%;
height: 600px;
padding: 20px;
}

/* Area where the slides of the movie pictures go */
.swiper-wrapper {
display: flex;
gap: 1px;
display: flex;
gap: 10px;
}

/* Movie Object box (created dynamically in JS) */
.movieObjectBox {
width: 300px;
height: 450px;
border-radius: 10px;
overflow: hidden;
background-color: #333;
position: relative;
width: 300px;
height: 450px;
border-radius: 10px;
overflow: hidden;
background-color: #333;
position: relative;
}

/* Movie Poster Image */
.movieObjectBox img {
width: 100%;
height: 100%;
object-fit: cover;
width: 100%;
height: 100%;
object-fit: cover;
}

/* Title on Movie Poster */
.movieTitleBox {
position: absolute;
bottom: 10px;
left: 10px;
color: white;
background-color: rgba(0, 0, 0, 0.6);
font-size: 18px;
font-weight: bold;
padding: 5px 10px;
border-radius: 5px;
position: absolute;
bottom: 10px;
left: 10px;
color: white;
background-color: rgb(126,12,12);
font-size: 18px;
font-weight: bold;
padding: 5px 10px;
border-radius: 5px;
}

/* Swiper Nav Buttons */
.swiper-button-next, .swiper-button-prev {
color: #fff;
}

body {
padding: 20px;
margin: 0;
color: #fff;
}

/* Row at Bottom where you can click on whatever number in the sequence and be redirected to it */
/* this might be removed later though, but whomever is working on the frontend JS will take care of it */
.swiper-pagination {
margin-top: 100px;
}

#movieTable th, tr {
font-weight: bold;
gap: 10px;
background-color: bisque;
border : 2px black solid;
}

tbody tr, td{
text-align:center;
gap: 20px;
background-color: lightskyblue;
border: 2px black solid;
position: top;
}

#movieTable {
width: 100%;
margin-top:20px;
margin-left: auto;
margin-right: auto;
}
text-align: center;
margin: 25px 0;
width: 100%;

#t20tm {
text-align: center;
}


12 changes: 7 additions & 5 deletions public/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
<title>Home</title>
<link rel="stylesheet" href="home.css">
<link rel="stylesheet" href="https://unpkg.com/swiper/swiper-bundle.min.css">
<link href='https://fonts.googleapis.com/css?family=Roboto' rel='stylesheet'>
<script src="home.js" defer></script>
<script src="https://unpkg.com/swiper/swiper-bundle.min.js" defer></script>
</head>
Expand All @@ -13,13 +14,15 @@
<!-- Nav Section -->
<nav id="main-nav">
<ul>
<li><a href="home.html">Home</a></li>
<li><a href="search.html">Search</a></li>
<li><a href="about.html">About</a></li>
<li><a href="home.html">HOME</a></li>
<li><a href="search.html">SEARCH</a></li>
<li><a href="about.html">ABOUT</a></li>
</ul>
</nav>

<h1 id="pageTitle">Trending Movies</h1>

<h2>Top 20 Trending Movies</h2>

<!-- Swiper for Movies (referenced from JS library: https://swiperjs.com/swiper-api#swiper-full-html-layout)-->
<div class="swiper-container">
Expand All @@ -37,7 +40,6 @@ <h1 id="pageTitle">Trending Movies</h1>
<br>

<!-- Table for Movie information from Swiper -->
<h2 id="t20tm">Top 20 Trending Movies</h2>
<table id="movieTable"> <!-- Do not change table ID, needs to stay as is to work for JS -->
<thead>
<tr>
Expand All @@ -54,4 +56,4 @@ <h2 id="t20tm">Top 20 Trending Movies</h2>
</table>

</body>
</html>
</html>
Loading