234 lines
3.8 KiB
CSS
234 lines
3.8 KiB
CSS
:root {
|
|
--side_distance: 10%;
|
|
}
|
|
|
|
body {
|
|
justify-content: center;
|
|
align-items: center;
|
|
height: 100vh;
|
|
width: 100%;
|
|
margin: 0;
|
|
padding: 0;
|
|
|
|
background-color: #222222;
|
|
}
|
|
|
|
@font-face {
|
|
font-family: 'SF-Black';
|
|
src: url('./assets/fonts/SF-Pro-Display-Black.otf');
|
|
}
|
|
|
|
@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');
|
|
}
|
|
|
|
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
font-family: 'SF-Medium';
|
|
}
|
|
|
|
#link_EaglerArchive {
|
|
display: flex;
|
|
flex-direction: row;
|
|
align-items: center;
|
|
color: white;
|
|
text-decoration: none;
|
|
|
|
margin-right: 10px;
|
|
}
|
|
|
|
#link_EaglerArchive p {
|
|
margin-left: 10px;
|
|
font-family: 'SF-Black';
|
|
font-size: 30px;
|
|
}
|
|
|
|
#EaglerArchive {
|
|
display: flex;
|
|
flex-direction: row;
|
|
}
|
|
|
|
#logo {
|
|
height: 40px;
|
|
}
|
|
|
|
#EaglerArchive a {
|
|
display: flex;
|
|
flex-direction: row;
|
|
}
|
|
|
|
#nav_bar {
|
|
display: flex;
|
|
flex-direction:row;
|
|
justify-content: space-between;
|
|
width: 100%;
|
|
background-color: #333;
|
|
color: white;
|
|
padding: 10px;
|
|
padding-left: var(--side_distance);
|
|
padding-right: calc(var(--side_distance) - 10px);
|
|
}
|
|
|
|
#nav_bar h2 {
|
|
font-family: 'SF-Bold';
|
|
font-size: 30px;
|
|
margin-right: 10px;
|
|
}
|
|
|
|
.icon_link {
|
|
width: 30px;
|
|
height: 30px;
|
|
margin: 7.5px;
|
|
|
|
transition: filter 0.75s ease;
|
|
}
|
|
|
|
#nav_bar a:hover > .icon_link {
|
|
filter: invert(1)
|
|
}
|
|
|
|
.link-nav_bar {
|
|
color: white;
|
|
|
|
display: flex;
|
|
flex-direction: row;
|
|
align-items: center;
|
|
text-decoration: none;
|
|
|
|
|
|
padding-right: 10px;
|
|
margin-left: 10px;
|
|
margin-right: 10px;
|
|
border-radius: 10px;
|
|
|
|
transition: background-color 0.75s ease, color 0.75s ease;
|
|
}
|
|
|
|
#nav_bar a.link-nav_bar:hover {
|
|
background-color: white;
|
|
color: rgb(0, 0, 0);
|
|
}
|
|
|
|
#link_discord {
|
|
background-color: #5865F2;
|
|
}
|
|
|
|
#view {
|
|
width: 100%;
|
|
height: calc(100vh - 120px);
|
|
padding-left: 15%;
|
|
padding-right: 15%;
|
|
}
|
|
|
|
.folder {
|
|
background-image: url('./assets/folder-closed.png');
|
|
}
|
|
|
|
.folder:hover {
|
|
background-image: url('./assets/folder-open.png');
|
|
}
|
|
|
|
.box-container {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, 2fr);
|
|
gap: 30px;
|
|
margin-top: 30px;
|
|
max-width: 100%;
|
|
}
|
|
|
|
.box {
|
|
background-color: rgb(55, 55, 55);
|
|
color: white;
|
|
font-size: 30px;
|
|
text-align: center;
|
|
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;
|
|
align-items: center;
|
|
text-decoration: none;
|
|
color: white;
|
|
transition: background-color 0.75s ease, color 0.75s ease, filter 0.75s ease;
|
|
}
|
|
|
|
.box-content img {
|
|
transition: filter 0.75s ease;
|
|
}
|
|
|
|
.box:hover {
|
|
background-color: white;
|
|
}
|
|
.box:hover > .box-content {
|
|
color: rgb(0, 0, 0);
|
|
}
|
|
|
|
/* ---------------------------------------------------------- */
|
|
|
|
.box-icon {
|
|
height: 75px;
|
|
width: 75px;
|
|
margin: 30px;
|
|
}
|
|
|
|
.box-banner {
|
|
margin: -25px;
|
|
border-top-left-radius: 20px;
|
|
border-top-right-radius: 20px;
|
|
margin-bottom: 25px;
|
|
max-width: calc(100% + 50px);
|
|
}
|
|
|
|
#discord-box {
|
|
background-color: #5865F2;
|
|
color: white;
|
|
display: flex;
|
|
flex-direction: column;
|
|
|
|
padding: 25px;
|
|
border-radius: 20px;
|
|
font-size: 30px;
|
|
|
|
text-decoration: none;
|
|
text-align: center;
|
|
|
|
transition: background-color 0.75s ease;
|
|
}
|
|
|
|
#discord_div {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
|
|
transition: filter 0.75s ease;
|
|
}
|
|
|
|
#discord_logo {
|
|
height: 75px;
|
|
width: 75px;
|
|
margin: 30px;
|
|
}
|
|
|
|
#discord-box:hover {
|
|
background-color: #ffffff;
|
|
}
|
|
|
|
.box:hover > .box-content > .invert-icon {
|
|
filter: invert(1);
|
|
}
|
|
|
|
|
|
|