BlogSharer/static/style.css

86 lines
1.4 KiB
CSS
Raw Normal View History

2023-12-28 17:48:56 -06:00
@import url('https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css');
* {
font-family: Verdana, Geneva, Tahoma, sans-serif;
padding: 0;
text-align: center;
line-height: 1.5rem;
}
h1 {
color: rgb(225, 215, 255);
font-size: 2.5rem;
}
h2,
h3 {
color: white;
}
body,
html {
overflow-x: hidden;
margin: auto;
background-color: rgb(20, 5, 60);
background: linear-gradient(rgb(25, 5, 75), black);
width: 100vw;
height: 100vh;
margin: 0;
padding: 0;
background-attachment: local;
}
2023-12-28 17:26:32 -06:00
body {
2023-12-28 17:48:56 -06:00
padding: 2.5%;
2023-12-28 17:26:32 -06:00
}
2023-12-28 17:48:56 -06:00
.fadediv {
animation-name: fade-in;
animation-duration: .75s;
animation-timing-function: cubic-bezier(0.165, 0.84, 0.44, 1);
margin: auto;
max-width: 1000px;
}
a {
color: rgb(175, 225, 255);
display: inline-block;
transition: 1.5s all cubic-bezier(0.075, 0.82, 0.165, 1);
}
a:hover {
2023-12-28 17:26:32 -06:00
color: white;
2023-12-28 17:48:56 -06:00
transition: 0.5s all cubic-bezier(0.075, 0.82, 0.165, 1);
}
p {
color: white;
font-size: 1.2rem;
padding: 0;
margin: 10px;
}
img {
width: 100%;
max-width: 135px;
transition: all 2s cubic-bezier(0.075, 0.82, 0.165, 1);
}
2023-12-28 17:26:32 -06:00
hr {
2023-12-28 17:48:56 -06:00
color: white;
opacity: 0.25;
border-width: 2px;
margin: 15px 10%;
}
@keyframes fade-in {
0% {
opacity: 0;
transform: translateY(50vh);
}
100% {
opacity: 1;
transform: none;
}
2023-12-28 17:26:32 -06:00
}