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

Update tpw-hire banner styling.css #180

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
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
108 changes: 108 additions & 0 deletions code/tpw-hire/tpw-hire.css
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,112 @@ tr {
left: 0;
z-index: 6; /* Increase z-index to be higher priority than the header(lower #) */
background-color: #f9f9f9;
}
/*****************/
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Like Susanne mentioned. Just extra spacing before the closing bracket on line 33 and extra spacing before the comment header on line 34. I'd also suggest adding a line in between to create some spacing between the sections.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should also be updated in TPW HiRE | Production CSS. Line 34 spacing is off a bit.

/* Big Buttons */
/*****************/
.big-button-container {
border-radius: 2px;
box-shadow: 0px 1px 2px 0px gray;
font-size: 2.5em;
padding: 10px;
margin: 20px;
max-width: 14em;
display: block;
}

.big-button-container:hover {
background-color: #f7f7f7;
cursor: pointer;
}

.fa {
vertical-align: baseline;
}

a.big-button-container {
text-decoration: none;
}

/*****************/
/* Small Buttons */
/*****************/
.small-button-container {
padding: 5px;
margin: 20px;
border-radius: 2px;
box-shadow: 0px 1px 2px 0px gray;
font-size: 1em;
max-width: 15em;
background-color: #babbbc;
color: white;
}

.small-button-container:hover {
background-color: #4c4c4c;
cursor: pointer;
}

a.small-button {
text-decoration: none;
}

/*********************************************/
/******** Header Banner Image Styling ********/
/*********************************************/

/* Base styles for the image */
img.knHeader__logo-image {
width: 100% !important;
height: auto !important;
max-width: 100% !important;
object-fit: contain !important;
}

/* Base styles for the parent container */
.knHeader__logo.knHeader__logo--custom {
height: auto !important;
max-width: 1000px !important;
margin: 0 0 0 0 !important; /* Left-justified */
}

/* Overrides for conflicting styles */
.knHeader .knHeader__logo--custom {
width: 100% !important;
max-width: 1000px !important;
margin: 0 0 0 0 !important; /* Left-justified */
}

.knHeader .knHeader__logo .knHeader__logo-image {
width: 100% !important;
object-fit: contain !important;
}

/* Media queries for larger screens */
@media (min-width: 768px) {
.knHeader__logo.knHeader__logo--custom {
width: 80% !important;
}
}

@media (min-width: 1024px) {
.knHeader__logo.knHeader__logo--custom {
width: 80% !important; /* Medium width on large screens */
max-width: 1000px !important;
}
}

/* Media queries for image resizing */
@media (max-width: 767px) {
.knHeader__logo.knHeader__logo--custom {
width: 100% !important; /* Full width on small screens */
max-width: 600px !important;
}
}

@media (min-width: 768px) and (max-width: 1023px) {
.knHeader__logo.knHeader__logo--custom {
width: 80% !important; /* Medium width on medium screens */
max-width: 800px !important;
}
}