This repository has been archived on 2025-02-15. You can view files and clone it, but cannot push or open issues or pull requests.
Heartily/static/style.css
2023-06-29 16:32:46 -07:00

230 lines
3.5 KiB
CSS

body {
background-color: #272822;
}
.container {
max-width: 800px;
margin: 0 auto;
padding: 20px;
background-color: #272822;
}
h1 {
font-size: 24px;
font-weight: bold;
margin-bottom: 10px;
color: #f8f8f2;
}
ul {
list-style: none;
padding: 0;
}
li {
margin-bottom: 20px;
}
h2 {
font-size: 20px;
font-weight: bold;
color: #a9dc76;
}
p {
color: #999999;
}
a {
color: #78dce8;
text-decoration: none;
}
a:hover {
color: #e6a96b;
}
header {
display: flex;
justify-content: center;
align-items: center;
}
.logo {
flex-direction: row;
}
.logo-img {
width: 50px;
max-width: 100%;
margin-right: 10px;
}
.logo p {
font-size: 24px;
color: #f8f8f2;
margin: 10px;
}
.logo-name {
font-size: 24px;
font-weight: bold;
color: #f8f8f2;
margin: 10px;
}
.logo-link {
display: inline-flex;
align-items: center;
text-decoration: none; /* Add this line to remove underline */
}
.search-form {
display: flex;
align-items: center;
justify-content: center;
}
.search-input {
padding: 10px;
border: none;
border-radius: 4px;
font-size: 16px;
background-color: #F9F5DD;
color: #75715e;
}
.search-input::placeholder {
color: #75715e;
}
.search-button {
padding: 10px 20px;
border: none;
border-radius: 4px;
font-size: 16px;
background-color: #fd971f;
color: #f8f8f2;
cursor: pointer;
margin:10px;
}
.search-button:hover {
background-color: #f4bf75;
}
.notification-overlay {
position: fixed;
bottom: 20px;
left: 50%;
transform: translateX(-50%);
background-color: #ff5795c7;
color: #f8f8f2;
border: 1px solid #272822;
padding: 10px 20px;
border-radius: 4px;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
animation: fadeIn 0.5s, fadeOut 0.5s 5s forwards;
display: none;
}
@keyframes fadeIn {
0% {
opacity: 0;
}
100% {
opacity: 1;
}
}
@keyframes fadeOut {
0% {
opacity: 1;
}
100% {
opacity: 0;
}
}
.report-button {
position: relative;
display: flex;
text-decoration: none;
padding: 10px 20px;
border-radius: 4px;
color: #FF5794;
border:none;
background-color: transparent;
margin: 5px;
}
.wrapper {
position: relative;
display: inline-block;
text-decoration: none;
color: #f8f8f2;
background-color: #fd971f;
padding: 10px 20px;
border: none;
border-radius: 4px;
margin: 5px;
}
.wrapper .button-text {
display: inline-block;
transition: opacity 0.3s ease;
}
.wrapper .button-icon {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
color: #ffffff;
font-size: 24px;
opacity: 0;
transition: opacity 0.3s ease;
}
.wrapper:hover {
background-color: #f4bf75;
}
.wrapper:hover .button-text {
opacity: 0;
}
.wrapper:hover .button-icon {
opacity: 1;
font-size: 20px;
}
.report-button .button-text {
display: inline-block;
transition: opacity 0.3s ease;
opacity: 0;
}
.report-button .button-icon {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
font-size: 24px;
transition: opacity 0.3s ease;
font-size: 20px;
opacity: 1;
}
.report-button:hover .button-text {
opacity: 1;
}
.report-button:hover .button-icon {
opacity: 0;
}
.list-container {
display: flex;
align-items: center;
}