Skip to content

Commit

Permalink
minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
saaqi committed Jul 22, 2023
1 parent da6ac6d commit ea96997
Show file tree
Hide file tree
Showing 5 changed files with 68 additions and 16 deletions.
37 changes: 27 additions & 10 deletions assets/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
--accent-color: #f45050;
--even-bg-color: #f0f0f0;
--odd-bg-color: #f9f9f9;
--button-shadow: inset 0 -2px 0 rgba(0,0,0,0.25), 1px 1px 2px 0 rgba(0,0,0,0.25);
--box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.25);
--text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.25);
--button-shadow: inset 0 -2px 0 rgba(0,0,0,0.3), 1px 1px 2px 0 rgba(0,0,0,0.3);
--box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
--text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
--transition: all ease-in-out 0.2s;
}

Expand Down Expand Up @@ -83,7 +83,7 @@ ul {
}

.button:hover {
text-shadow: none;
box-shadow: inset 0 -2px 0 rgba(0,0,0,0.3);
}

.button:active {
Expand Down Expand Up @@ -453,7 +453,7 @@ h3.home-contact-us-button {
}

.hero a.home-phone > i:hover {
text-shadow: none;
box-shadow: inset 0 -2px 0 rgba(0,0,0,0.3);
}

.hero a.home-phone > i:active {
Expand Down Expand Up @@ -779,17 +779,21 @@ h4.ag-courses-item_title {
}
.contact-form input,
.contact-form textarea {
background-color: var(--even-bg-color);
border-radius: 5px;
border: 1px solid #212529;
margin-bottom: 1rem;
width: 100%;
outline: 0;
padding: .5rem;
transition: var(--transition);
border: 1px solid #212529;
border-radius: 5px;
width: 100%;
}

.contact-form input:focus,
.contact-form textarea:focus {
outline-color: var(--accent-color);
box-shadow: inset 2px 2px 4px rgba(0, 0, 0, 0.25);
background-color: var(--odd-bg-color);
box-shadow: inset 1px 1px 2px rgba(0, 0, 0, 0.25);
border-color: var(--accent-color);
}
.contact-form .required-label {
color: var(--accent-color);
Expand All @@ -807,10 +811,23 @@ h4.ag-courses-item_title {
margin-bottom: 0;
}

.working-hours > table > .thead > tr > th {
color: var(--primary-color);
background-color: var(--even-bg-color);
}

.working-hours > table > tbody > tr > td:nth-child(odd) {
font-weight: 700;
}

.working-hours > table > tbody > tr:nth-child(odd) > td {
background-color: var(--odd-bg-color);
}

.working-hours > table > tbody > tr:nth-child(even) > td {
background-color: var(--even-bg-color);
}

/* footer */
.site-footer {
color: #fff;
Expand Down
Loading

0 comments on commit ea96997

Please sign in to comment.