Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add descriptive section for search portal homepage #264

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
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
29 changes: 29 additions & 0 deletions src/assets/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,35 @@
width: 100%; /* Full width on small screens */
}

.description {
margin: 4rem 0;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
text-align: center;
}

.description h1 {
font-size: 2rem;
font-weight: bold;
text-transform: uppercase;
color: rgb(51, 51, 51);
}

.description p {
max-width: 80%;
margin: auto;
font-size: 1.3rem;
color: rgb(118, 118, 118);
}

.cc-highlight {
color: rgb(251, 212, 60);
}

@media (max-width: 600px) {
.description p {
max-width: 100%;
}
}
/* Responsive Design */
@media (min-width: 601px) {
.body-search {
Expand Down
12 changes: 12 additions & 0 deletions src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,18 @@ <h2>Our Work Relies On You!</h2>
</header>
<main>
<span id="main-content-marker"></span>
<div class="description">
<h1>
Discover<span class="cc-highlight"> Creative Commons (CC) </span
>Content
</h1>
<p>
Creative Commons Search (or CC Search) is a convenient search tool
that gives you access to search engines for finding videos, images,
audio and any other digital content shared explicitly for reuse under
Creative Commons (CC) license.
</p>
</div>
<form
id="searchForm"
class="body-cont">
Expand Down