website-generator/themes/material-dark/rsrc/jumbotron.css

241 lines
3.8 KiB
CSS
Raw Normal View History

2023-04-29 22:10:05 +00:00
/* Move down content because we have a fixed navbar that is 3.5rem tall */
body {
padding-top: 7rem;
}
/* fix right-aligned dropdown menus so that they do not render offscreen */
.dropdown-menu-right {
right: 0;
left: auto;
}
/* set navbar to brand colors */
.navbar.custom-navbar {
background-color: #003153 !important;
}
/* nexted submenus */
.dropdown-submenu {
position: relative;
}
.dropdown-submenu a::after {
transform: rotate(-90deg);
position: absolute;
right: 6px;
top: .8em;
}
.dropdown-submenu .dropdown-menu {
top: 0;
left: 100%;
margin-left: .1rem;
margin-right: .1rem;
}
@media (max-width: 767.98px) {
.dropdown-submenu .dropdown-menu {
left: auto;
right: 100%;
margin-left: 0;
margin-right: .1rem;
}
}
.dropdown-submenu {
position: relative;
}
.dropdown-submenu a::after {
transform: rotate(-90deg);
position: absolute;
right: 6px;
top: .8em;
}
.dropdown-submenu .dropdown-menu {
top: 0;
left: auto;
margin-left: .1rem;
margin-right: .1rem;
}
@media (max-width: 767.98px) {
.dropdown-submenu .dropdown-menu {
left: auto;
right: 100%;
margin-left: 0;
margin-right: .1rem;
}
}
footer {
background-color: #003153 !important;
}
footer.bg-dark {
background-color: #003153 !important;
}
.content {
margin-bottom: 5%; /* Same as footer height */
}
footer {
position: fixed;
bottom: 0;
width: 100%;
background-color: #003153;
color: white;
text-align: center;
}
.secondary-jumbotron {
background-color: #ffe6e6;
}
.cuscol {
margin: 0 auto; /* centers the div horizontally */
text-align: left; /* left-aligns the text */
max-width: 80ch;
}
.cuscol p {
overflow-wrap: break-word;
max-width: 80ch;
}
h1 {
word-break: break-all;
max-width: 80ch;
}
hr {
max-width: 80ch;
}
.shadow-lg {
box-shadow: 0 1rem 3rem rgba(0,0,0,.175)!important;
}
.bg-white {
max-width: 21cm;
margin: 1.27cm auto;
padding: 1.27cm auto;
}
@media (max-width: 767px) {
h1 {
font-size: 30px;
}
.shadow-lg {
box-shadow: none !important;
}
.col-md-3 {
max-width: 100% !important;
min-width: 100% !important;
}
2023-04-29 22:10:05 +00:00
}
2023-05-23 02:26:08 +00:00
@media (min-width: 768px) {
2023-05-23 02:15:30 +00:00
.col-md-3 {
max-width: 100% !important;
min-width: 100% !important;
}
2023-05-23 02:26:08 +00:00
}
2023-05-23 02:15:30 +00:00
2023-04-29 22:10:05 +00:00
@media (max-width: 1000px) {
h1 {
font-size: 30px;
}
.shadow-lg {
box-shadow: none !important;
}
}
@media (max-width: 767px) {
.bg-white {
margin: 1.27cm auto;
padding: 1.27cm auto;
}
}
h1 {
word-break: break-word;
overflow-wrap: break-word;
}
* {
font-family: 'Roboto', sans-serif;
}
[class^="wp-block-cover"], [class^="wp-image-"], .wp-block-cover, .wp-block-cover__image-background {
height: auto !important;
width: 75% !important;
display: block !important;
margin: 0 auto;
text-align: center;
}
.wp-block-image.is-style-default {
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
}
.aligncenter {
display: block;
margin: 0 auto;
}
figcaption {
margin: 0 auto;
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
}
.feed_date {
white-space: nowrap;
}
.title-text {
font-family: 'Roboto', sans-serif;
font-weight: 400;
text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
padding: 10px;
margin: 10px 0;
color: #444;
}
.jumbotron {
padding-top: 1rem;
padding-bottom: 1rem;
}
.project-name {
color: white;
text-shadow: 0 0 5px white;
position: relative;
animation: glowing 7s infinite; /* Change the duration here */
background-color: transparent;
padding: 5px;
display: inline-block;
box-sizing: border-box;
}
@keyframes glowing {
0% {
text-shadow: 0 0 5px white;
}
50% {
text-shadow: 0 0 20px white, 0 0 30px white;
}
100% {
text-shadow: 0 0 5px white;
}
}