2025-03-15 18:49:37 -04:00

659 lines
13 KiB
CSS

:root {
--site-primary: #0197F6;
--site-primary-light: #68C5DB;
--site-gray: #565264;
--site-secondary: #02182B;
--site-white: #EFF9F0;
--site-platinum: #EFF9F0;
--site-danger: #D7263D;
}
/* OLD GET RID OF THESE */
h1 {
font-size: 3rem;
margin: 20px 0;
}
h1.center {
text-align: center;
width: 100%;
}
h2 {
font-size: 2.5rem;
font-weight: 700;
margin: 10px 0;
}
h3 {
font-size: 2rem;
font-weight: 700;
margin: 10px 0;
}
h4 {
font-size: 1.5rem;
font-weight: 700;
margin: 10px 0;
}
#block-dchadwick-primary-local-tasks {
width: auto;
position: fixed;
bottom: 0;
left: 50%;
transform: translateX(-50%);
z-index: 9999;
}
#block-dchadwick-primary-local-tasks > ul {
margin: 0;
padding: 20px;
display: flex;
justify-content: center;
list-style-type: none;
gap: 5px;
background: var(--site-platinum);
}
#block-dchadwick-primary-local-tasks > ul li a {
padding: 10px 20px;
border-radius: 10px;
background: var(--site-primary);
color: var(--site-white);
transition: all 0.2s ease;
}
#block-dchadwick-primary-local-tasks > ul li a:hover {
background: var(--site-secondary);
color: var(--site-primary);
}
.btn-primary a {
background: var(--site-primary) !important;
color: var(--site-white);
cursor: pointer;
transition: background 0.2s ease;
padding: 10px 20px;
border: none;
border-radius: 5px;
}
.btn-primary a:hover {
background: var(--site-white);
color: var(--site-secondary);
}
header#header {
display: flex;
width: 100%;
justify-content: center;
padding: 0.5rem;
border-top: 5px solid transparent;
border-bottom: 5px solid var(--site-secondary);
background: var(--site-primary);
}
header#header > div {
display: flex;
justify-content: space-between;
align-items: center;
}
header#header .region-navigation {
width: 100%;
}
header#header #block-dchadwick-site-branding a {
white-space: nowrap;
color: var(--site-secondary);
text-transform: uppercase;
font-size: 1.5rem;
font-weight: 700;
transition: color 0.2s ease;
}
header#header #block-dchadwick-site-branding a:hover {
color: var(--site-white);
}
header#header #block-dchadwick-main-menu > ul {
display: flex;
flex-direction: row !important;
}
header#header #block-dchadwick-main-menu > ul li:not(:last-child) {
border-right: 2px solid var(--site-secondary);
}
header#header #block-dchadwick-main-menu > ul a {
color: var(--site-white);
padding: 0 1rem;
text-decoration: none;
transition: color 0.2s ease-in-out;
}
header#header #block-dchadwick-main-menu > ul a:hover {
color: var(--site-secondary);
}
header#header #block-dchadwick-main-menu > ul a.is-active {
color: var(--site-secondary);
}
header#header #block-dchadwick-main-menu > ul a.is-active:hover {
color: var(--site-white);
}
#footer {
display: flex;
background: var(--site-primary);
color: var(--site-secondary);
justify-content: center;
align-items: center;
min-height: 50px;
margin-top: 50px;
box-shadow: 0 50vh 0 50vh var(--site-primary);
}
#footer h2 {
color: white !important;
}
#footer p {
margin: 0;
}
.table {
width: auto;
margin: auto;
border-collapse: collapse;
font-size: 0.9em;
min-width: 800px;
box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
}
.table.cols-5 {
width: 1300px;
}
.table th, .table td {
padding: 12px 15px;
}
.table thead {
border-radius: 5px 5px 0 0;
}
.table thead tr > th {
background: var(--site-primary);
color: var(--site-white);
}
.hero-slide {
height: 600px;
overflow: hidden;
position: relative;
}
.hero-slide .hero-bground::before {
content: "";
position: absolute;
background: rgba(0, 0, 0, 0.3);
border-radius: 5px;
top: 0;
right: 0;
bottom: 0;
left: 0;
z-index: 1;
}
.hero-slide video {
position: absolute;
top: -50px;
left: 0;
}
.hero-caption-wrapper {
position: relative;
height: 100%;
}
.hero-caption {
z-index: 2;
width: 50%;
position: absolute;
top: 50%;
transform: translateY(-50%);
left: 2rem;
background: rgba(254, 215, 101, 0.93);
padding: 2rem;
border-radius: 10px;
}
@media screen and (max-width: 767px) {
.hero-caption {
width: 100%;
top: unset;
transform: none;
left: 0;
bottom: 0;
border-radius: 0;
}
}
.hero-caption__text {
font-size: 24px;
margin-bottom: 20px;
}
.hero-caption__text p {
margin: 0;
}
#recent-fights > div {
grid-gap: 5px;
justify-content: space-evenly;
}
#block-dchadwick-recentfightsblock h2, .block-recent-fights-block h2 {
text-transform: uppercase;
font-size: 2.4rem;
text-align: center;
width: 100%;
margin: 50px 0;
}
@media screen and (min-width: 1024px) {
#block-dchadwick-recentfightsblock .card, .block-recent-fights-block .card {
flex: 1 0 21%;
}
}
#block-dchadwick-recentfightsblock .fightcard-img, .block-recent-fights-block .fightcard-img {
height: 60px;
border-radius: 50%;
}
#block-dchadwick-recentfightsblock .card-header, .block-recent-fights-block .card-header {
display: flex;
justify-content: space-evenly;
align-items: center;
flex-flow: wrap;
}
#block-dchadwick-recentfightsblock .card-body, .block-recent-fights-block .card-body {
text-align: center;
}
#block-dchadwick-recentfightsblock .card-body h4, .block-recent-fights-block .card-body h4 {
font-size: 1.2rem;
}
@media screen and (max-width: 767px) {
#block-dchadwick-recentfightsblock .card-body h4, .block-recent-fights-block .card-body h4 {
font-size: 0.8rem;
}
}
#block-dchadwick-recentfightsblock .card-footer, .block-recent-fights-block .card-footer {
display: flex;
}
#block-dchadwick-recentfightsblock .card-footer button, .block-recent-fights-block .card-footer button {
background: #fffaf3;
border: 1px solid #6e6a86;
flex-grow: 1;
}
#block-dchadwick-recentfightsblock .card-footer button:hover, .block-recent-fights-block .card-footer button:hover {
background: #191724;
}
#block-dchadwick-recentfightsblock .card-footer button:hover a, .block-recent-fights-block .card-footer button:hover a {
color: #f6c177;
}
#block-dchadwick-recentfightsblock .card-footer button a, .block-recent-fights-block .card-footer button a {
color: #6e6a86;
}
#fighter__personal-info .fieldset-wrapper, #fighter__stats .fieldset-wrapper {
display: flex;
flex-flow: wrap;
justify-content: space-evenly;
}
#fighter__stats .fieldset-wrapper > div {
flex-basis: 20%;
}
#fighter h2 {
text-align: center;
font-size: 3rem;
margin: 4rem 0;
text-transform: uppercase;
}
#fighter span.label {
font-size: 1.2rem;
font-weight: 300;
}
#fighter .data-wrapper {
margin: 1rem;
}
#fighter .datapoint {
font-size: 2rem;
}
#fighter__hero {
color: #f6c177;
display: flex;
flex-flow: wrap;
padding: 2rem 0;
justify-content: space-evenly;
align-items: center;
}
#fighter__text {
text-align: center;
background: #1f1d2e;
padding: 2rem 3rem;
border: 1px solid;
}
#fighter__text h1 {
margin-top: 0;
margin-bottom: 1rem;
font-size: 2.4rem;
}
#fighter__personal {
display: flex;
flex-flow: wrap;
justify-content: space-evenly;
text-align: center;
}
#fighter__stats {
display: flex;
flex-flow: wrap;
justify-content: space-between;
text-align: center;
}
h2#fight-history {
text-align: center;
color: #6e6a86;
font-size: 3rem;
margin: 2rem 0;
text-transform: uppercase;
}
table.cols-2 {
margin: auto;
width: auto;
text-align: center;
color: #f6c177;
}
table.cols-2 thead tr {
font-size: 1.6rem;
background: #191724 !important;
}
table.cols-2 thead tr th {
padding: 10px 0;
}
table.cols-2 tr:nth-child(odd) {
background: #fffaf3;
}
table.cols-2 tr:nth-child(odd) a {
color: #191724;
}
table.cols-2 tbody > tr > td {
padding: 1rem;
}
table.cols-2 tbody > tr > td a {
text-decoration: none;
}
td.loss {
background: #eb6f92;
--bs-table-striped-color: #eb6f92;
--bs-table-color-type: var(--bs-table-striped-color);
--bs-table-bg-type: var(--bs-table-striped-bg);
}
td.loss a {
color: white !important;
}
td.win {
background: #9ccfd8;
}
td.win a {
color: white !important;
}
.page-node-type-fighter .table > :not(caption) > * > * {
box-shadow: none !important;
}
.view-all-fighters .view-content {
display: flex;
flex-flow: wrap;
}
.view-all-fighters .view-content .card img {
max-height: 214px;
}
.view-all-fighters .view-content .btn-dark {
margin-left: 0;
}
.view-all-fighters .view-content .btn-dark a {
text-decoration: none;
}
.page-node-type-fight h1 {
text-align: center;
}
.page-node-type-fight #block-dchadwick-content {
display: flex;
justify-content: center;
}
.page-node-type-fight th {
padding: 1rem 1rem 0 1rem !important;
text-align: center;
}
.page-node-type-fight th a {
text-decoration: none;
}
.page-node-type-fight th.win {
color: white;
background: #9ccfd8;
}
#compare-fighters img {
max-width: 100px;
}
table.cols-5 {
border-spacing: 2rem 0;
margin-top: 2rem;
}
table.cols-5 thead {
text-align: left;
}
table.cols-5 tbody tr:nth-child(odd) {
background: #fffaf3;
}
table.cols-5 td {
padding: 5px 0;
}
table.cols-5 td.correct {
background: #9ccfd8 !important;
color: white;
}
table.cols-5 td.incorrect {
background: #eb6f92;
color: white;
}
.node-type-article .hero {
padding: 30px 0;
}
.node-type-article .article-intro h1 {
margin: 0;
font-size: 56px;
color: var(--site-white);
}
.node-type-article #article-body {
display: block;
margin-top: 20px;
}
.node-type-article .left-side {
display: inline-block;
width: 75%;
}
.node-type-article .left-side .article-info {
background: var(--site-platinum);
padding: 10px;
gap: 20px;
display: inline-flex;
justify-content: space-evenly;
align-items: center;
font-size: 14px;
color: var(--site-gray);
margin-bottom: 10px;
border-radius: 10px;
}
.node-type-article .left-side .article-info .info-item {
display: flex;
align-items: center;
}
.node-type-article .left-side .article-info .info-item span {
margin-right: 3px;
color: var(--site-primary);
}
.node-type-article .left-side p {
font-size: 16px;
line-height: 24px;
}
.node-type-article .left-side img {
border-radius: 10px;
}
.node-type-article .right-side {
display: inline-block;
vertical-align: top;
width: 24%;
text-align: left;
right: 0;
}
.node-type-article .right-side ul {
list-style-type: none;
padding: 0;
margin: 0;
display: flex;
flex-wrap: wrap;
margin-left: 5px;
padding-left: 10px;
border-left: 2px solid var(--site-primary);
}
.node-type-article .right-side ul li {
display: inline-block;
width: 100%;
}
.node-type-article .right-side ul li a {
display: inline-block;
margin-left: 20px;
width: 100%;
margin: 20px 0;
font-size: 18px;
font-weight: 700;
cursor: pointer;
transition: all 0.2s ease;
text-decoration: none;
text-decoration-thickness: 0px;
}
.node-type-article .right-side ul li a:hover {
color: var(--site-gray);
text-decoration: underline;
text-decoration-thickness: 5px;
}
.node-type-article .right-side.fixed-sidebar {
position: fixed;
top: 0;
right: 34px;
}
#block-dchadwick-breadcrumbs {
background: var(--site-gray);
}
#block-dchadwick-breadcrumbs ol {
max-width: 1300px;
margin: 0 50px;
padding: 10px 0;
list-style: none;
display: flex;
gap: 10px;
}
#block-dchadwick-breadcrumbs ol li:not(:last-child):after {
content: "/";
display: inline-block;
position: relative;
margin-left: 10px;
}
#block-dchadwick-breadcrumbs ol a, #block-dchadwick-breadcrumbs ol li {
color: var(--site-platinum);
font-size: 14px;
}
.node-type-character .layout--twocol-section {
gap: 20px;
}
.node-type-character .layout--twocol-section .layout__region--first {
flex: 0 1 calc(67% - 20px);
}
.node-type-character .layout--twocol-section .layout__region--first h1 {
margin-bottom: 5px;
background: var(--site-primary);
color: var(--site-platinum);
padding: 0 10px;
}
.node-type-character .layout--twocol-section .layout__region--first h3 {
margin: 0;
font-style: italic;
font-size: 16px;
color: var(--site-gray);
display: inline-block;
padding: 0 10px;
}
.node-type-character .layout--twocol-section .layout__region--second {
flex: 0 1 calc(33% - 20px);
text-align: center;
}
.node-type-character .layout--twocol-section .layout__region--second [class^=field] > div:first-child {
background: var(--site-gray);
color: var(--site-white);
font-size: 18px;
font-weight: 900;
padding: 5px 0;
}
.node-type-character .layout--twocol-section .layout__region--second [class^=field] div:nth-child(2) {
padding: 5px 0;
color: var(--site-gray);
}
.node-type-character .layout__region--first p {
font-size: 18px;
line-height: 24px;
}
html {
font-size: 100%;
box-sizing: border-box;
overflow-x: hidden;
scroll-behavior: smooth;
}
.region-content {
padding: 0;
}
body {
background: var(--site-white);
color: var(--site-primary);
font-family: "Ubuntu", sans-serif;
margin: auto;
}
a {
color: var(--site-primary);
text-decoration: none;
cursor: pointer;
}
img {
width: auto;
height: auto;
max-width: 100%;
max-height: 100%;
}
p {
color: var(--site-gray);
}
.container {
max-width: 1300px;
margin: auto;
}
@media screen and (max-width: 1300px) {
.container {
margin: 0 50px;
}
}
blockquote {
font-style: italic;
border-left: 1px solid var(--site-primary);
padding-left: 20px;
}
pre {
background: #414559;
color: #c6d0f5;
padding: 10px;
}