142 lines
2.5 KiB
CSS
142 lines
2.5 KiB
CSS
/*
|
|
Orario Scuola, Copyright (C) 2025 EmmeV.
|
|
|
|
This program is free software: you can redistribute it and/or modify
|
|
it under the terms of the GNU Affero General Public License as published by
|
|
the Free Software Foundation, either version 3 of the License, or
|
|
(at your option) any later version.
|
|
|
|
This program is distributed in the hope that it will be useful,
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
GNU Affero General Public License for more details.
|
|
|
|
You should have received a copy of the GNU Affero General Public License
|
|
along with this program. If not, see https://www.gnu.org/licenses/.
|
|
*/
|
|
/* Base styles */
|
|
body {
|
|
font-family: Arial, sans-serif;
|
|
padding: 15px;
|
|
background-color: #f0f2f5;
|
|
color: #333;
|
|
margin: 0;
|
|
}
|
|
|
|
h1, h2 {
|
|
text-align: center;
|
|
margin: 10px 0 20px 0;
|
|
}
|
|
|
|
h1 {
|
|
color: #2c3e50;
|
|
font-size: 1.8em;
|
|
}
|
|
|
|
h2 {
|
|
color: #34495e;
|
|
font-size: 1.4em;
|
|
}
|
|
|
|
/* Grid layout */
|
|
.grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
|
|
gap: 15px;
|
|
max-width: 1000px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
/* Card styles */
|
|
ul {
|
|
list-style: none;
|
|
padding: 15px;
|
|
background: #fff;
|
|
border-radius: 10px;
|
|
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
|
|
transition: transform 0.2s, box-shadow 0.2s;
|
|
}
|
|
|
|
ul:hover {
|
|
transform: translateY(-3px);
|
|
box-shadow: 0 5px 10px rgba(0, 0, 0, 0.15);
|
|
}
|
|
|
|
li {
|
|
margin: 6px 0;
|
|
}
|
|
|
|
li b {
|
|
display: block;
|
|
margin-bottom: 8px;
|
|
font-size: 1em;
|
|
color: #1f618d;
|
|
}
|
|
|
|
a {
|
|
text-decoration: none;
|
|
color: #0066cc;
|
|
padding: 5px 8px;
|
|
border-radius: 5px;
|
|
transition: background-color 0.2s, color 0.2s;
|
|
}
|
|
|
|
a:hover {
|
|
background-color: #0066cc;
|
|
color: #fff;
|
|
}
|
|
|
|
/* Responsive adjustments */
|
|
@media screen and (max-width: 768px) {
|
|
body {
|
|
padding: 10px;
|
|
font-size: 0.95em;
|
|
}
|
|
|
|
h1 {
|
|
font-size: 1.5em;
|
|
}
|
|
|
|
h2 {
|
|
font-size: 1.2em;
|
|
}
|
|
|
|
.grid {
|
|
grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
|
|
gap: 10px;
|
|
}
|
|
|
|
ul {
|
|
padding: 10px;
|
|
}
|
|
|
|
a {
|
|
padding: 8px 10px;
|
|
font-size: 0.95em;
|
|
}
|
|
}
|
|
|
|
@media screen and (max-width: 480px) {
|
|
h1 {
|
|
font-size: 1.3em;
|
|
}
|
|
|
|
h2 {
|
|
font-size: 1em;
|
|
}
|
|
|
|
.grid {
|
|
grid-template-columns: 1fr;
|
|
gap: 10px;
|
|
}
|
|
|
|
ul {
|
|
padding: 8px;
|
|
}
|
|
|
|
a {
|
|
display: block;
|
|
text-align: center;
|
|
padding: 10px;
|
|
}
|
|
} |