Artberry-web/static/css/styles.scss

428 lines
7.9 KiB
SCSS

.container {
position: absolute;
display: flex;
flex-wrap: wrap;
gap: 20px;
background-color: #1f091b;
padding: 10px;
box-sizing: border-box;
}
.new-content {
width: 1500px;
height: 340px;
top: 349px;
left: 50%;
transform: translateX(-50%);
}
.popular-content {
display: flex;
flex-direction: column;
align-items: flex-start;
padding: 0px;
gap: 20px;
width: 1502px;
height: 900px;
top: 737px;
left: 50%;
transform: translateX(-50%);
position: absolute;
}
.viewed-content {
width: 1502px;
height: 631px;
top: 1677px;
left: 50%;
transform: translateX(-50%);
position: absolute;
}
.popular-categories {
width: 1500px;
height: 277px;
top: 2308px;
left: 50%;
transform: translateX(-50%);
position: absolute;
}
.new-content-text {
width: 123px;
height: 33px;
font-family: Nunito, sans-serif;
font-weight: 500;
font-size: 24px;
line-height: 100%;
letter-spacing: 0%;
position: absolute;
top: 10px;
left: 10px;
color: #8784C9;
}
.popular-content-text {
width: 123px;
height: 33px;
font-family: Nunito, sans-serif;
font-weight: 500;
font-size: 24px;
line-height: 100%;
letter-spacing: 0%;
position: absolute;
top: 10px;
left: 10px;
color: #8784C9;
}
.viewed-content-text {
width: 123px;
height: 33px;
font-family: Nunito, sans-serif;
font-weight: 500;
font-size: 24px;
line-height: 100%;
letter-spacing: 0%;
position: absolute;
top: 10px;
left: 10px;
color: #8784C9;
}
.popular-categories-text {
width: 321px;
height: 33px;
font-family: Nunito, sans-serif;
font-weight: 500;
font-size: 24px;
line-height: 100%;
letter-spacing: 0%;
position: absolute;
top: 10px;
left: 10px;
color: #8784C9;
}
.view-more-button {
width: 1500px;
height: 40px;
border-radius: 10px;
gap: 10px;
padding-top: 10px;
padding-right: 679px;
padding-bottom: 10px;
padding-left: 679px;
background-color: #8784C9;
border: none;
color: #fff;
font-family: Nunito, sans-serif;
font-weight: 500;
font-size: 16px;
cursor: pointer;
white-space: nowrap;
position: absolute;
bottom: 10px;
left: 50%;
transform: translateX(-50%);
}
.new-context-button-text {
width: 134px;
height: 22px;
font-family: Nunito, sans-serif;
font-weight: 500;
font-size: 16px;
line-height: 100%;
letter-spacing: 0%;
color: #3C3882;
}
.navbar {
width: 100%;
max-width: 1500px;
height: 120px;
background: #05040A;
display: flex;
align-items: center;
padding: 0 20px;
gap: 20px;
margin: 0 auto;
}
.logo {
width: 307px;
height: 60px;
}
.search-container {
display: flex;
align-items: center;
width: 452.5px;
height: 27px;
border: 1px solid #8784C9;
border-radius: 20px;
padding: 15px;
background: #05040A;
position: relative;
transition: border-color 0.3s ease;
}
.search-icon-container {
position: relative;
width: 24px;
height: 24px;
margin-right: 10px;
}
.search-icon,
.search-hover-icon {
width: 24px;
height: 24px;
position: absolute;
top: 0;
left: 0;
transition: opacity 0.3s ease;
}
.search-hover-icon {
opacity: 0;
}
.search-container:hover .search-hover-icon,
.search-container:focus-within .search-hover-icon {
opacity: 1;
}
.search-container:hover .search-icon,
.search-container:focus-within .search-icon {
opacity: 0;
}
.search-input {
border: none;
outline: none;
flex-grow: 1;
font-size: 16px;
height: 24px;
color: #8784C9;
background-color: #05040A;
}
.search-container:hover {
border-color: #3C3882;
}
.search-container:focus-within {
border-color: #3C3882;
}
.icon-container {
display: flex;
align-items: center;
margin-left: 10px;
}
.video-icon {
width: 24px;
height: 24px;
margin-left: 10px;
}
.tray-icon {
width: 11px;
height: 7px;
margin-left: 5px;
}
.translate-btn {
position: relative;
width: 23px;
height: 27px;
border: 1px solid #8784C9;
border-radius: 10px;
display: flex;
align-items: center;
justify-content: center;
background: #05040A;
cursor: pointer;
padding: 15px;
transition: border-color 0.3s ease, transform 0.3s ease, opacity 0.3s ease;
}
.translate-icon,
.translate-hover-icon {
width: 24px;
height: 24px;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
transition: opacity 0.3s ease;
}
.translate-hover-icon {
opacity: 0;
}
.translate-btn:hover .translate-hover-icon {
opacity: 1;
}
.translate-btn:hover .translate-icon {
opacity: 0;
}
.translate-btn:hover {
border-color: #3C3882;
}
.overlay-icon {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 20px;
height: 20px;
opacity: 0.7;
}
.menu {
display: flex;
font-family: Nunito, sans-serif;
gap: 22px;
width: 519.5px;
height: 22px;
justify-content: space-between;
padding-left: 60px;
padding-right: 60px;
}
.menu a {
text-decoration: none;
color: #8784C9;
font-size: 16px;
transition: color 0.3s ease;
}
.menu a:hover {
color: #3C3882;
}
.auth-container {
display: flex;
align-items: center;
margin-left: auto;
}
.discord-icon-container {
position: relative;
width: 42px;
height: 42px;
}
.discord-icon,
.discord-hover-icon {
width: 42px;
height: 42px;
position: absolute;
top: 0;
left: 0;
transition: opacity 0.3s ease;
}
.discord-hover-icon {
opacity: 0;
}
.discord-icon-container:hover .discord-hover-icon {
opacity: 1;
}
.discord-icon-container:hover .discord-icon {
opacity: 0;
}
.login-btn {
width: 87px;
height: 42px;
border-radius: 20px;
background: #8784C9;
border: 1px solid #8784C9;
padding: 10px 15px;
font-size: 16px;
font-family: Nunito, sans-serif;
font-weight: 500;
line-height: 21.82px;
letter-spacing: 0%;
color: #05040A;
cursor: pointer;
margin-left: 10px;
transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.login-btn:hover {
background-color: #3C3882;
color: #05040A;
border-color: #3C3882;
}
.dropdown-menu {
position: absolute;
top: 100%;
right: 0;
background: #05040A;
border: 1px solid #3C3882;
border-radius: 8px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
display: none;
flex-direction: column;
width: 150px;
z-index: 10;
}
.dropdown-item {
padding: 10px 15px;
font-size: 14px;
border-radius:4px;
color: #8784C9;
cursor: pointer;
transition: background 0.3s ease, color 0.3s ease;
}
.dropdown-item:hover {
background: #3C3882;
color: white;
}
.tags-container {
width: 1500px;
height: 35px;
position: absolute;
top: 266px;
left: 210px;
display: flex;
justify-content: flex-start;
align-items: center;
gap: 10px;
border: none;
background-color: #05040A;
overflow: hidden;
}
.tag {
height: 35px;
border-radius: 5px;
padding: 6px 10px;
display: inline-flex;
align-items: center;
justify-content: center;
background-color: #3C3882;
border: none;
color: #8784C9;
margin: 0;
visibility: visible;
transition: visibility 0.3s ease;
}
.list-button {
width: 35px;
height: 35px;
border-radius: 10px;
padding: 5px;
display: flex;
align-items: center;
justify-content: center;
border: 2px solid #8784C9;
background-color: transparent;
color: #3C3882;
margin-left: 10px;
gap: 5px;
position: relative;
z-index: 2;
}
.tags-container > .list-button {
position: absolute;
right: 0;
z-index: 2;
}
.taglist-shadow {
width: 64px;
height: 35px;
position: absolute;
right: 0;
background: linear-gradient(to right, rgba(5, 4, 10, 0) 30%, rgba(5, 4, 10, 0.5) 60%, #05040A 100%);
}