word-salad/public/word-salad.css

219 lines
3.2 KiB
CSS
Raw Normal View History

@view-transition {
navigation: auto;
}
body {
/* background-color: #813d9c; /* Old Purple */
2025-10-11 20:29:03 +00:00
/* background-color: #2d033e; /* New Solid Purple */
/*
* Created with https://www.css-gradient.com
* Gradient link: https://www.css-gradient.com/?c1=550b73&c2=2e033e&gt=r&gd=dcl
*/
background: #550B73;
background: radial-gradient(at left center, #550B73, #2E033E);
color: white;
text-shadow: 1px 1px 2px blueviolet;
margin: 0;
}
main {
display: flex;
justify-content: center;
}
2025-10-11 20:29:03 +00:00
main a {
color: #ff9344;
text-decoration: none;
}
main a:hover {
text-decoration: aliceblue;
text-decoration-line: underline;
}
article {
max-width: 60vw;
}
@media screen and (max-width: 1250px) {
article {
max-width: 90vw;
}
2025-10-11 20:29:03 +00:00
main {
flex-direction: column;
padding: 0 1.25em;
}
}
@media screen and (min-width: 1250px) {
#recent-articles-list {
margin-left: 3em;
}
}
a {
text-decoration-color: aqua;
color: aqua;
}
#top-bar {
padding: 0.5em 0em;
background-color: #ffffff3d;
border-bottom: 1px solid white;
display: flex;
align-items: center;
justify-content: center;
font-size: smaller;
}
nav {
display: flex;
justify-content: space-between;
}
2025-10-11 20:29:03 +00:00
#nav-logo {
padding: 1em;
}
#nav-logo > a {
text-decoration: none;
color: #ff9344;
2025-10-11 20:29:03 +00:00
font-size: xx-large;
font-weight: bold;
}
#article-header-separator {
2025-10-11 20:29:03 +00:00
width: 70%;
color: white;
margin: 2em auto;
}
footer {
min-height: 7em;
display: flex;
justify-content: center;
2025-10-11 20:29:03 +00:00
flex-direction: column;
align-items: center;
}
#subscribe-form {
2025-10-11 20:29:03 +00:00
border-radius: 0.5em;
border-color: white;
border-style: solid;
border-width: 1px;
padding: 1.4em;
margin-top: 1.5em;
margin-bottom: 2em;
}
#subscribe-form > form {
display: flex;
justify-content: center;
gap: 10px;
}
#subscribe-form .email-input {
display: flex;
flex-direction: column;
}
2025-10-11 20:29:03 +00:00
#subscribe-form input {
padding: 0.5em;
}
#subscribe-button {
background-color: #ff9344;
color: white;
2025-10-11 20:29:03 +00:00
font-weight: bold;
border-radius: 0.5em;
cursor: pointer;
}
#blog-head {
display: flex;
flex-direction: column;
justify-content: center;
align-items: end;
margin: 0.5em;
}
#blog-head h1 {
font-size: 2.6em;
}
#blog-head h2 {
margin-top: 0;
}
.article-peek dl {
display: flex;
gap: 0.5em;
align-items: baseline;
}
.article-peek dd {
margin: 0 2em 0 0.25em;
}
.article-peek dt {
font-size: small;
font-weight: lighter;
}
#recent-articles-list {
padding: 0 1em;
}
#recent-articles-list h3 {
margin-bottom: 0.75em;
font-size: 120%;
}
#recent-articles-list h4 {
margin: 0.25em 0;
}
#recent-articles-list article {
margin-bottom: 2.5em;
}
/* .bubble-panel {
border-radius: 50px;
background: #813d9c;
box-shadow: -33px 33px 65px #66307b,
33px -33px 65px #9c4abd;
padding: 2em;
}*/
2025-10-11 20:29:03 +00:00
/* Create a custom animation */
@keyframes move-out {
from {
transform: translateY(0%);
}
to {
transform: translateY(-100%);
}
}
@keyframes move-in {
from {
transform: translateY(100%);
}
to {
transform: translateY(0%);
}
}
/* Apply the custom animation to the old and new page states */
::view-transition-old(root) {
animation: 0.4s ease-in both move-out;
}
::view-transition-new(root) {
animation: 0.4s ease-in both move-in;
}