ja.son-williams.ca/www/themes/jason-williamsca/assets/css/theme.css
2020-09-26 14:43:50 -06:00

182 lines
3.4 KiB
CSS

/* Variables */
:root {
--main-bg-color: #E7D9D1; /*#F0E4D1; #E8D5B5; #e7d9d1;*/
--main-accent-color: #302b44;
--light-accent-color: #686283;
--xlight-accent-color: #88839C;
--xxlight-accent-color: #FFFFFF;
--alt-accent-color: #B05C71;
--dark-alt-accent-color: #913A50;
--title-font: 'Cinzel', serif;
--body-font: 'Raleway', sans-serif;
}
/* Structural elements (including style for them) */
html, body { height: 100%; }
body {
background-color: var(--main-bg-color);
font-family: var(--body-font);
color: var(--main-accent-color);
}
#page-content {
flex: 1 0 auto;
}
#main-nav .navbar-brand {
height: 4.5rem;
padding-left: 100px;
font-family: var(--title-font);
font-size: 2.5rem;
background-image: url('../images/jwlogo.svg');
background-repeat: no-repeat;
background-size: 4.5rem;
color: var(--main-accent-color);
word-spacing: -0.15em;
}
footer {
flex-shrink: 0;
background-color: var(--main-accent-color);
padding-top: 1rem;
}
footer p, footer ul li {
color: var(--light-accent-color);
font-size: 0.8rem;
}
footer ul {
margin-top: -1rem;
padding-left: 1.25rem;
}
/* Responsive element spacing */
.container-fluid, #main-nav {
padding-left: 1rem;
padding-right: 1rem;
}
#main-nav {
padding-top: 1rem;
}
footer, h1, h2 {
margin-top: 2rem;
}
footer {
margin-top: 2rem;
}
/* Responsive element spacing - lg breakpoint */
@media (min-width: 992px) {
.container-fluid, #main-nav {
padding-left: 3rem;
padding-right: 3rem;
}
#main-nav {
padding-top: 3rem;
}
footer, h1, h2 {
margin-top: 3rem;
}
}
/* Standard element styles */
a {
color: var(--alt-accent-color);
text-decoration: underline;
}
a.icon-link {
display: inline-block;
height: 1em;
color: var(--accent-color);
}
a:hover {
color: var(--dark-alt-accent-color);
text-decoration: none;
}
/* Custom styles */
html { overflow-x: hidden; overflow-y: scroll; }
html::-webkit-scrollbar-track {
background-color: rgba(48, 43, 68, 0.2);
}
html::-webkit-scrollbar {
width: 0.5rem;
background-color: rgba(48, 43, 68, 0.2);
}
html::-webkit-scrollbar-thumb {
border-radius: 0.5rem;
background-color: rgba(48, 43, 68, 0.5);
}
#main-nav .nav-item .nav-link {
color: rgba(48, 43, 68, 0.5);
text-decoration: none;
}
#main-nav .nav-item.active .nav-link {
color: var(--main-accent-color);
}
#main-nav .nav-item .nav-link:hover {
color: var(--alt-accent-color);
}
#side-nav .nav-link, footer a {
text-decoration: none;
color: var(--xlight-accent-color);
}
#side-nav .nav-link:hover, #side-nav .nav-link.active, footer a:hover, footer a.active {
color: var(--xxlight-accent-color);
}
.social-icons {
font-size: 0;
}
.social-icons a {
display: inline-block;
height: 3.5rem;
width: 3.5rem;
background-color: var(--main-accent-color);
color: var(--main-bg-color);
text-align: center;
font-size: 1.5rem;
line-height: 3.5rem;
margin-right: 0.25rem;
margin-bottom: 0.25rem;
}
.social-icons a:hover {
background-color: var(--dark-alt-accent-color);
color: white;
}
.card {
color: rgba(0, 0, 0, 0.75);
}
.card h1, .card h2, .card h3 {
color: var(--main-accent-color);
margin-top: 0;
}
.card p, .card ul {
font-size: 0.9rem;
}
.altaccent {
color: var(--alt-accent-color);
}