tools/projects/style.css
zyqunix 3cf2363147 1. changed to a global css instead of using the same shit over and over.
2. deleted soem unused stuff
3. stole some windows' api virtual keys site keys
2025-01-17 23:14:57 +01:00

236 lines
No EOL
3.9 KiB
CSS

@import url(/global.css);
img[class="img_header"] {
height: 3rem;
margin-top: 22px;
margin-right: 20px;
border-radius: 5px;
}
div.header-main {
width: 100%;
padding: 15px 20px 20px 20px;
display: flex;
position: fixed;
top: 0;
left: 0;
background-color: rgba(59, 59, 59, 0.885);
backdrop-filter: blur(5px);
}
div.header-main {
height: 1rem;
}
div.header-main a {
color: #c099ff;
margin: 0 5px 0 5px;
}
div.header {
width: 100%;
display: flex;
justify-content: center;
text-align: center;
}
.main {
width: 90%;
max-width: 85%;
text-align: center;
margin-bottom: 50px;
margin-top: 50px;
}
h2 {
color: #ffffff;
margin-bottom: 40px;
font-size: 2rem;
}
.projects h2 {
font-size: 1rem;
margin-bottom: 20px;
color: #ffffff;
}
.projects {
display: flex;
flex-wrap: wrap;
gap: 50px;
justify-content: center;
}
.project-div,
.futureproject-div {
width: calc(33% - 40px);
max-width: 350px;
padding: 20px;
background-color: rgba(59, 59, 59, 0.885);
border-radius: 10px;
box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
text-align: center;
}
.project-div *,
.futureproject-div * {
color: white;
}
.project-div .visit-project,
.futureproject-div .visit-futureproject {
padding: 10px 20px;
background-color: #569470;
color: #cfcfcf;
border-radius: 5px;
text-decoration: none;
margin: 0;
bottom: 0;
transition: 0.1s;
}
.project-div h1,
.futureproject-div h1 {
font-size: 1.25rem;
}
.project-div .visit-project strong,
.futureproject-div .visit-futureproject strong {
color: #cfcfcf;
}
.project-div .visit-project:hover,
.futureproject-div .visit-futureproject:hover {
background-color: #47785b;
color: #ffffff;
}
.project-div .visit-project:hover strong,
.futureproject-div .visit-futureproject:hover strong {
color: #ffffff;
}
.project-desc,
.futureproject-desc {
font-size: 0.75rem;
margin-top: 10px;
}
.project-desc a,
.futureproject-desc a {
transition: 0.1s;
}
.project-desc a:hover,
.futureproject-desc a:hover {
color: #c099ff;
}
@media (max-width: 768px) {
body {
font-size: 0.9rem;
}
.main {
width: 95%;
margin-top: 40px;
margin-bottom: 40px;
}
h2 {
font-size: 1.5rem;
margin-bottom: 30px;
}
.projects h2 {
font-size: 0.9rem;
}
.project-div,
.futureproject-div {
width: 100%;
max-width: none;
font-size: 0.9rem;
padding: 15px;
}
.project-div h1,
.futureproject-div h1 {
font-size: 1.1rem;
}
.project-desc,
.futureproject-desc {
font-size: 0.75rem;
}
.project-div .visit-project,
.futureproject-div .visit-futureproject {
font-size: 0.9rem;
padding: 8px 16px;
}
div.header-main {
padding: 10px;
}
img[class="img_header"] {
height: 2.5rem;
margin-top: 10px;
margin-right: 15px;
}
}
@media (max-width: 480px) {
body {
font-size: 0.85rem;
}
.main {
width: 100%;
margin-top: 30px;
margin-bottom: 30px;
}
h2 {
font-size: 1.2rem;
margin-bottom: 20px;
}
.projects h2 {
font-size: 0.8rem;
}
.project-div,
.futureproject-div {
width: 100%;
font-size: 0.8rem;
padding: 10px;
}
.project-div h1,
.futureproject-div h1 {
font-size: 1rem;
}
.project-desc,
.futureproject-desc {
font-size: 0.7rem;
}
.project-div .visit-project,
.futureproject-div .visit-futureproject {
font-size: 0.85rem;
padding: 6px 12px;
}
div.header-main {
padding: 8px;
}
img[class="img_header"] {
height: 2rem;
margin-top: 5px;
margin-right: 10px;
}
}