ja.son-williams.ca/www/themes/jason-williamsca/assets/css/theme.css

165 lines
3.0 KiB
CSS
Raw Normal View History

/* Variables */
:root {
--main-bg-color: #E7D9D1; /*#F0E4D1; #E8D5B5; #e7d9d1;*/
--main-accent-color: #302b44;
--light-accent-color: #686283;
--alt-accent-color: #B05C71;
--dark-alt-accent-color: #913A50;
--title-font: 'Cinzel', serif;
--body-font: 'Raleway', sans-serif;
}
2020-05-20 19:53:39 +00:00
/* 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);
2020-05-20 19:53:39 +00:00
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 {
2020-05-20 19:53:39 +00:00
margin-top: 2rem;
}
footer {
2020-05-20 19:53:39 +00:00
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:hover {
color: var(--dark-alt-accent-color);
text-decoration: none;
}
/* Custom styles */
2020-05-20 19:53:39 +00:00
html { 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);
}
.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);
}
2020-05-20 19:53:39 +00:00
.card h1, .card h2, .card h3 {
color: var(--main-accent-color);
2020-05-20 19:53:39 +00:00
margin-top: 0;
}
2020-05-23 19:24:48 +00:00
.card p, .card ul {
2020-05-20 19:53:39 +00:00
font-size: 0.9rem;
}
2020-05-20 19:53:39 +00:00
.altaccent {
color: var(--alt-accent-color);
}