You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

175 lines
3.0 KiB
CSS

1 month ago
:root{
--spot-color-1: 009;;
}
2 months ago
@font-face {
1 month ago
font-family: 'Platypi';
src: url('../fonts/Platypi[wght].woff2');
font-weight: 300 800;
2 months ago
font-style: normal;
}
@font-face {
1 month ago
font-family: 'Platypi';
src: url('../fonts/Platypi-Italic[wght].woff2');
font-weight: 300 800;
font-style: italic;
2 months ago
}
1 month ago
a {
color: inherit;
text-decoration: none;
}
blockquote{
background: linear-gradient(to top left, white, rgba(255, 153, 150, 0), #c048ff),
linear-gradient(to top right, #c9f183, rgba(255, 153, 150, 0), #f13d2b) hsl(36deg 100% 50%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
2 months ago
body {
background-color: #fffdfb;
1 month ago
font-family: 'Platypi', serif;
1 month ago
font-size: 1.3125rem;
1 month ago
font-synthesis: none;
1 month ago
line-height: 1.3;
2 months ago
margin: 0;
1 month ago
padding: 4rem;
2 months ago
box-sizing: border-box;
}
.content-list {
1 month ago
font-size: 41px;
max-width: 40rem;
2 months ago
margin: auto;
margin-right: 0;
1 month ago
line-height: 3.5rem;
2 months ago
1 month ago
img {
width: 2rem;
height: auto;
vertical-align: middle;
filter: saturate(2);
}
a:hover img, img:hover {
animation: wiggle 0.6s infinite;
cursor: pointer;
}
2 months ago
}
2 months ago
.container {
2 months ago
margin: 50px 0;
1 month ago
line-height: 3.5rem;
h1 {font-style: normal}
2 months ago
1 month ago
h2 {
font-size: 40px;
max-width: 30%;
margin: 0;
margin-bottom: -0.5rem;
}
2 months ago
}
2 months ago
2 months ago
#content {
1 month ago
max-width: 40rem;
2 months ago
margin: auto;
margin-right: 0;
2 months ago
}
2 months ago
@keyframes wiggle {
25% {
transform: scale(0.8, 1.3);
2 months ago
}
2 months ago
50% {
transform: scale(1.1, 0.8);
2 months ago
}
2 months ago
75% {
transform: scale(0.7, 1.2);
2 months ago
}
}
1 month ago
.gummies{
display: flex;
margin: 2rem 0;
}
.gummy .caption{
opacity: 0;
transition: opacity 0.5s ease;
}
.gummy:hover .caption{
opacity: 1
}
.gummy img{
width: 4rem;
filter: saturate(2);
}
h1 {
font-weight: 700;
font-size: 50px;
font-style: italic;
margin: 0 0 0.5rem;
}
img{
max-width: 100%;
}
figcaption{
font-size: 0.85rem;
margin-top: 0.5rem;
}
figure{
width: 100%;
margin: 0 0 2rem;
}
nav{
position: fixed;
h1{font-style: normal;}
}
#script{
max-width: 40rem;
margin: auto;
margin-right: 0;
p{
margin-left: 12rem;
}
p:first-of-type{
margin-left: 0;
}
h2, h3 {
text-decoration: underline;
text-align: center;
}
strong {
position: absolute;
margin-left: -12rem;
width: 11rem;
}
2 months ago
}
@media (max-width: 768px) {
body {
1 month ago
line-height: 1.3;
padding: 2rem;
2 months ago
}
2 months ago
.container {
2 months ago
line-height: 2rem;
margin: 70px 0; /* Adjusted for mobile */
1 month ago
h1 {
font-size: 30px;
font-style: normal;
}
h2 {
font-size: 20px;
margin-bottom: -0.25rem;
}
2 months ago
}
.content-list {
1 month ago
font-size: 22px;
line-height: 2rem;
img{
margin: -50px 0;
overflow-y:visible;
}
2 months ago
}
}