Shmol Updoots
This commit is contained in:
parent
9dd3e1a8d5
commit
3238f60779
10 changed files with 614 additions and 569 deletions
|
|
@ -1,124 +1,123 @@
|
|||
.masthead img {
|
||||
width: 12vw;
|
||||
border-radius: 8px;
|
||||
}
|
||||
|
||||
.codewars {
|
||||
width: 1rem;
|
||||
height: 1rem;
|
||||
margin-bottom: 1px;
|
||||
transition: filter ease-in-out 200ms;
|
||||
vertical-align: sub !important;
|
||||
filter: opacity(80%);
|
||||
width: 1rem;
|
||||
height: 1rem;
|
||||
margin-bottom: 1px;
|
||||
transition: filter ease-in-out 200ms;
|
||||
vertical-align: sub !important;
|
||||
filter: opacity(80%);
|
||||
}
|
||||
|
||||
.codewars:hover {
|
||||
filter: opacity(100%);
|
||||
filter: opacity(100%);
|
||||
}
|
||||
|
||||
.navbar-translucent {
|
||||
opacity: 75%;
|
||||
transition: opacity ease-in-out 250ms;
|
||||
opacity: 75%;
|
||||
transition: opacity ease-in-out 250ms;
|
||||
}
|
||||
|
||||
.navbar-translucent:active, .navbar-translucent:hover {
|
||||
opacity: 100%;
|
||||
.navbar-translucent:active,
|
||||
.navbar-translucent:hover {
|
||||
opacity: 100%;
|
||||
}
|
||||
|
||||
.container {
|
||||
margin-top: 2rem;
|
||||
margin-bottom: 2rem;
|
||||
margin-top: 2rem;
|
||||
margin-bottom: 2rem;
|
||||
}
|
||||
|
||||
.gradient.masthead {
|
||||
text-align: center;
|
||||
width: 100%;
|
||||
height: 50vh;
|
||||
padding-top: 25vh;
|
||||
/* Beautiful gradient effect */
|
||||
background: linear-gradient(217deg, rgba(255, 0, 0, .8), rgba(255, 0, 0, 0) 70.71%), linear-gradient(127deg, rgba(0, 255, 0, .8), rgba(0, 255, 0, 0) 70.71%), linear-gradient(336deg, rgba(0, 0, 255, .8), rgba(0, 0, 255, 0) 70.71%);
|
||||
animation: Rotate 10s ease infinite;
|
||||
.masthead {
|
||||
text-align: center;
|
||||
width: 100%;
|
||||
/* height: 50vh; */
|
||||
padding-top: 15vh;
|
||||
padding-bottom: 15vh;
|
||||
|
||||
background: url("/Resources/img/masthead-tile.png");
|
||||
}
|
||||
|
||||
.masthead *:not(img) {
|
||||
color: white;
|
||||
mix-blend-mode: overlay;
|
||||
}
|
||||
|
||||
.dark .masthead *:not(img) {
|
||||
color: black;
|
||||
mix-blend-mode: overlay;
|
||||
}
|
||||
|
||||
blockquote.blockquote p {
|
||||
border-left: 1px solid black;
|
||||
padding-left: 1rem;
|
||||
border-left: 1px solid black;
|
||||
padding-left: 1rem;
|
||||
}
|
||||
|
||||
#displayModeSwitch, label[for="displayModeSwitch"] {
|
||||
cursor: pointer;
|
||||
user-select: none;
|
||||
#displayModeSwitch,
|
||||
label[for="displayModeSwitch"] {
|
||||
cursor: pointer;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
body.dark {
|
||||
background-color: #252525 !important;
|
||||
color: #eeeeee !important;
|
||||
background-color: #252525 !important;
|
||||
color: #eeeeee !important;
|
||||
}
|
||||
|
||||
body.dark #displayModeSwitch {
|
||||
background-color: #00bee0 !important;
|
||||
border-color: #00bee0 !important;
|
||||
background-color: #00bee0 !important;
|
||||
border-color: #00bee0 !important;
|
||||
}
|
||||
|
||||
body.dark .card {
|
||||
background-color: #323232 !important;
|
||||
background-color: #323232 !important;
|
||||
}
|
||||
|
||||
body.dark .modal-content {
|
||||
background-color: #252525;
|
||||
background-color: #252525;
|
||||
}
|
||||
|
||||
body.dark blockquote.blockquote p {
|
||||
border-left: 1px solid #aaaaaa;
|
||||
border-left: 1px solid #aaaaaa;
|
||||
}
|
||||
|
||||
body.dark .modal-footer {
|
||||
border-top: 1px solid #202020 !important;
|
||||
border-top: 1px solid #202020 !important;
|
||||
}
|
||||
|
||||
body.dark .modal-header {
|
||||
border-bottom: 1px solid #202020 !important;
|
||||
border-bottom: 1px solid #202020 !important;
|
||||
}
|
||||
|
||||
body.dark .btn-close {
|
||||
filter: invert(1);
|
||||
}
|
||||
|
||||
@keyframes Rotate {
|
||||
0% {
|
||||
filter: hue-rotate(0deg);
|
||||
}
|
||||
25% {
|
||||
filter: hue-rotate(45deg);
|
||||
}
|
||||
50% {
|
||||
filter: hue-rotate(90deg);
|
||||
}
|
||||
75% {
|
||||
filter: hue-rotate(45deg);
|
||||
}
|
||||
100% {
|
||||
filter: hue-rotate(0deg);
|
||||
}
|
||||
filter: invert(1);
|
||||
}
|
||||
|
||||
.cards.grid {
|
||||
display: grid;
|
||||
flex-direction: row;
|
||||
justify-content: center;
|
||||
grid-template-columns: repeat(auto-fit, minmax(auto, 1fr));
|
||||
grid-auto-rows: 1fr;
|
||||
grid-gap: 2rem;
|
||||
grid-auto-flow: dense;
|
||||
display: grid;
|
||||
flex-direction: row;
|
||||
justify-content: center;
|
||||
grid-template-columns: repeat(auto-fit, minmax(auto, 1fr));
|
||||
grid-auto-rows: 1fr;
|
||||
grid-gap: 2rem;
|
||||
grid-auto-flow: dense;
|
||||
}
|
||||
|
||||
/* Force a 2-column grid on larger displays */
|
||||
|
||||
@media(min-width: 512px) {
|
||||
.cards.grid {
|
||||
grid-template-columns: repeat(2, minmax(256px, 1fr));
|
||||
}
|
||||
@media (min-width: 512px) {
|
||||
.cards.grid {
|
||||
grid-template-columns: repeat(2, minmax(256px, 1fr));
|
||||
}
|
||||
}
|
||||
|
||||
/* Only show the link descriptions *if* the navbar is in mobile-mode */
|
||||
|
||||
@media(min-width: 992px) {
|
||||
.link-desc {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
@media (min-width: 992px) {
|
||||
.link-desc {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue