Configured and redid the base website structure
This commit is contained in:
parent
37944288be
commit
b639061481
9 changed files with 300 additions and 0 deletions
68
html/assets/mobile.css
Normal file
68
html/assets/mobile.css
Normal file
|
@ -0,0 +1,68 @@
|
|||
/*
|
||||
* Freed.place
|
||||
* Version 3.0
|
||||
* Copyright (c) 2025 FreedTapestry21
|
||||
*/
|
||||
|
||||
/* Responsive layout for mobile */
|
||||
@media (max-width: 768px) {
|
||||
/* Menu */
|
||||
.menu {
|
||||
width: 90%;
|
||||
|
||||
margin: auto;
|
||||
}
|
||||
|
||||
.menu p {user-select: none; font-size: 20px;}
|
||||
|
||||
.menu a {
|
||||
color: var(--background-color);
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.menu a:hover {
|
||||
color: var(--accent-color-dark);
|
||||
background-color: var(--background-color);
|
||||
}
|
||||
|
||||
.name {
|
||||
text-align: center; width: 100%;
|
||||
|
||||
background-color: var(--accent-color);
|
||||
color: var(--text-color);
|
||||
}
|
||||
.index {
|
||||
text-align: center; width: 100%;
|
||||
|
||||
background-color: var(--accent-color-dark);
|
||||
color: var(--text-color);
|
||||
}
|
||||
|
||||
/* Footer */
|
||||
.footer {
|
||||
background-color: var(--accent-color);
|
||||
color: var(--background-color);
|
||||
|
||||
width: 100%;
|
||||
|
||||
margin: auto;
|
||||
}
|
||||
|
||||
.footer p {font-size:12px;}
|
||||
|
||||
.info {text-align: center; width: 100%;}
|
||||
|
||||
/* Boxes */
|
||||
.box {
|
||||
width: 100%;
|
||||
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.item {
|
||||
padding: 10px;
|
||||
width: 80%;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue