EaglerArchive/stylesheet.css

152 lines
2.5 KiB
CSS
Raw Normal View History

2024-04-26 11:43:08 -05:00
:root {
--side_distance: 10%;
2024-04-25 14:35:33 -05:00
}
body {
justify-content: center;
align-items: center;
height: 100vh;
2024-04-26 11:43:08 -05:00
width: 100%;
2024-04-25 14:35:33 -05:00
margin: 0;
padding: 0;
2024-04-26 11:43:08 -05:00
background-color: #222222;
}
@font-face {
font-family: 'SF-Black';
src: url('./assets/fonts/SF-Pro-Display-Black.otf');
2024-04-25 14:35:33 -05:00
}
@font-face {
font-family: 'SF-Bold';
src: url('./assets/fonts/SF-Pro-Display-Bold.otf');
}
@font-face {
font-family: 'SF-Medium';
src: url('./assets/fonts/SF-Pro-Display-Medium.otf');
}
2024-04-27 03:23:05 -05:00
.blurple {
background-color: #5865F2;
2024-04-25 00:36:33 -05:00
}
2024-04-27 03:23:05 -05:00
#view {
2024-04-25 00:36:33 -05:00
color: white;
2024-04-26 11:43:08 -05:00
2024-04-27 03:23:05 -05:00
width: 100%;;
2024-04-28 13:20:50 -05:00
padding-left: var(--side_distance);
padding-right: var(--side_distance);
padding-bottom: 30px;
2024-04-25 14:35:33 -05:00
}
2024-04-27 03:23:05 -05:00
#view hr {
height: 2px;
margin: 0 auto;
width: 100%;
2024-04-25 14:35:33 -05:00
}
2024-04-27 03:23:05 -05:00
#view h1 {
font-family: 'SF-Black';
font-size: 35px;
margin: 30px;
text-align: center;
2024-04-25 14:35:33 -05:00
}
.page-title {
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-between;
padding-top: 65px;
}
.page-subtitle {
display: flex;
flex-direction: row;
margin-bottom: 20px;
}
.page-subtitle p {
font-family: 'SF-Bold';
font-size: 30px;
margin: 0;
}
2024-04-25 14:35:33 -05:00
.folder {
width: 269px;
height: 212px;
margin: 0 auto;
background-image: url('./assets/images/folder_closed.png');
2024-04-25 14:35:33 -05:00
}
.folder:hover {
background-image: url('./assets/images/folder_open.png');
2024-04-25 14:35:33 -05:00
}
.box-container {
display: grid;
grid-template-columns: repeat(3, 2fr);
gap: 30px;
2024-04-26 11:43:08 -05:00
max-width: 100%;
2024-04-25 00:36:33 -05:00
}
2024-04-25 14:35:33 -05:00
.box {
background-color: rgb(55, 55, 55);
2024-04-26 11:43:08 -05:00
color: white;
2024-04-25 14:35:33 -05:00
font-size: 30px;
text-align: center;
justify-content: center;
2024-04-25 14:35:33 -05:00
padding: 25px;
border-radius: 20px;
text-decoration: none;
transition: background-color 0.75s ease, color 0.75s ease;
}
.box-content {
display: flex;
flex-direction: column;
text-decoration: none;
2024-04-27 03:23:05 -05:00
text-align: center;
justify-content: center;
align-items: center;
2024-04-25 14:35:33 -05:00
color: white;
2024-04-26 11:43:08 -05:00
transition: background-color 0.75s ease, color 0.75s ease, filter 0.75s ease;
}
.box-content img {
transition: all 0.75s ease;
2024-04-25 14:35:33 -05:00
}
2024-04-26 11:43:08 -05:00
2024-04-27 03:23:05 -05:00
.box:hover {
2024-04-25 14:35:33 -05:00
background-color: white;
}
2024-04-27 03:23:05 -05:00
2024-04-25 14:35:33 -05:00
.box:hover > .box-content {
2024-04-27 03:23:05 -05:00
color: black;
}
.box:hover > .box-content > .invert-icon {
filter: invert(1);
2024-04-25 14:35:33 -05:00
}
/* ---------------------------------------------------------- */
2024-04-26 11:43:08 -05:00
.box-icon {
2024-04-25 14:35:33 -05:00
height: 75px;
width: 75px;
2024-04-27 03:23:05 -05:00
margin: 30px auto;
2024-04-25 14:35:33 -05:00
}
2024-04-26 11:43:08 -05:00
.box-banner {
2024-04-25 14:35:33 -05:00
margin: -25px;
border-top-left-radius: 20px;
border-top-right-radius: 20px;
margin-bottom: 25px;
2024-04-26 11:43:08 -05:00
max-width: calc(100% + 50px);
2024-04-25 14:35:33 -05:00
}
2024-04-26 11:43:08 -05:00
2024-04-25 14:38:49 -05:00