Fedi.CrowdedGames.Group/CSS/index.css
2025-05-23 19:21:27 -07:00

251 lines
3.3 KiB
CSS

/* Globals*/
.BlinkAnimation {
animation-name: Blink;
animation-play-state: running;
animation-direction: alternate;
animation-iteration-count: infinite;
animation-duration: 2s;
}
@keyframes Blink {
0% {
color: #000000
}
100% {
color: #FFFFFF
}
}
.NextAnimation {
animation-name: Next;
animation-play-state: running;
animation-duration: 1s;
left : 0vw;
position: absolute;
}
@keyframes Next {
0% {
left: 0vw;
}
100% {
left: -85vw;
}
}
.BackAnimation {
animation-name: Back;
animation-play-state: running;
animation-duration: 1s;
left: 0vw;
position: absolute;
}
@keyframes Back {
0% {
left: 0vw;
}
100% {
left: 85vw;
}
}
html {
overflow-x: hidden;
overflow-y: hidden;
}
/* Classes for the warning section*/
.WarningMessage {
position: absolute;
top: 0px;
left: 0px;
text-align: center;
visibility: visible;
background-color: #000000;
color: #FFFFFF;
font-size: 18px;
}
.WarningFadeOutAnimation {
animation-name: WarningFadeOut;
animation-play-state: running;
animation-fill-mode: forwards;
animation-duration: 4s;
}
@keyframes WarningFadeOut {
0% {
visibility: visible;
background-color: #000000;
color: #FFFFFF;
font-size: 18px;
}
20% {
background-color: #000000;
color: #000000;
}
99.99% {
visibility: visible;
font-size: 18px;
}
100% {
visibility: collapse;
background-color: #000000;
color: #000000;
font-size: 0px;
}
}
/* Classes for the main page */
.MainBefore, .MainAfter {
position: absolute;
top: 0px;
left: 0px;
background-image: url("../Icons/IndexBackground.png");
}
/* Animation things to get it working smoothly */
.MainBefore {
visibility: collapse;
}
.MainFadeInAnimation {
animation-name: MainFadeIn;
animation-play-state: running;
animation-fill-mode: forwards;
animation-duration: 5s;
position: absolute;
top: 0px;
left: 0px;
}
@keyframes MainFadeIn {
0% {
visibility: collapse;
}
79.99% {
visibility: collapse;
}
80% {
visibility: visible;
background-color: #000000;
}
100% {
background-color: #FFFFFF;
}
}
.MainHeader {
text-align: center;
height: 5vh;
}
/* Stuff that goes into the posts. */
.Arrow {
position: absolute;
top: 35vh;
}
.PostContainer {
position: absolute;
display: flex;
flex-wrap: wrap;
justify-content: center;
margin-left: 10%;
margin-right: 10%;
width: 80%;
height: 70vh;
}
.Post {
overflow: hidden;
margin-top: 1%;
margin-bottom: 1%;
margin-left: 1%;
margin-right: 1%;
border-style: solid;
border-width: 2px;
border-top-left-radius: 2% 50%;
border-top-right-radius: 2% 50%;
border-bottom-left-radius: 2% 50%;
border-bottom-right-radius: 2% 50%;
background-color: #FFFFFF;
width: 22%;
height: 23%;
}
.Post:hover {
overflow: scroll;
}
.Username {
text-align: center;
font-weight: bold;
font-size: 2ch;
margin-top: -5px;
}
.PostContent {
font-size: 0.9ch;
}
/* Footer things */
.Setting, .Posting, .Mail, .Feed {
margin-top: 30px;
border-style: solid;
border-width: 1px;
width: 100px;
height: 100px;
}
.Mail, .Setting {
margin-right: 5%;
}
.Time {
font-size: 4ch;
}
.MainFooter {
display: flex;
text-align: center;
justify-content: center;
background: linear-gradient(#dcdcdc, #b4b4b4);
margin-top: 75vh;
border-top-style: solid;
border-width: 2px;
border-color: #00FFFF;
height: 20vh;
}