User:Fen/Portals/Legislation/styles.css: Difference between revisions
Appearance
Created page with ".law-portal-wrapper { font-family: "Georgia", serif; background-color: #fdfcf9; padding: 2em; max-width: 1200px; margin: 0 auto; } .law-header { background: linear-gradient(135deg, #004225, #002e1b); color: #f1f1f1; padding: 1.8em; border-radius: 8px; text-align: center; margin-bottom: 2em; box-shadow: 0 3px 12px rgba(0, 0, 0, 0.3); } .law-title { font-size: 2em; font-weight: bold; margin-bottom: 0.4em; } .law-subtitle { font-size: 1.1e..." |
forgot to change the css for these ones |
||
| Line 44: | Line 44: | ||
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08); | box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08); | ||
} | } | ||
. | .law-card:hover { | ||
transform: translateY(-2px); | transform: translateY(-2px); | ||
box-shadow: 0 4px 10px rgba(0,0,0,0.05); | box-shadow: 0 4px 10px rgba(0,0,0,0.05); | ||
} | } | ||
. | .law-card.wide { | ||
grid-column: 1 / -1; | grid-column: 1 / -1; | ||
} | } | ||
Revision as of 02:49, 17 July 2025
.law-portal-wrapper {
font-family: "Georgia", serif;
background-color: #fdfcf9;
padding: 2em;
max-width: 1200px;
margin: 0 auto;
}
.law-header {
background: linear-gradient(135deg, #004225, #002e1b);
color: #f1f1f1;
padding: 1.8em;
border-radius: 8px;
text-align: center;
margin-bottom: 2em;
box-shadow: 0 3px 12px rgba(0, 0, 0, 0.3);
}
.law-title {
font-size: 2em;
font-weight: bold;
margin-bottom: 0.4em;
}
.law-subtitle {
font-size: 1.1em;
font-style: italic;
opacity: 0.85;
}
.law-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 1.5em;
}
.law-card {
background: #ffffff;
border: 1px solid #d8d8d8;
border-left: 6px solid #004225;
border-radius: 6px;
padding: 1.2em;
transition: transform 0.2s ease, box-shadow 0.2s ease;
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}
.law-card:hover {
transform: translateY(-2px);
box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}
.law-card.wide {
grid-column: 1 / -1;
}
.law-card-title {
font-size: 1.25em;
font-weight: bold;
margin-bottom: 0.7em;
color: #004225;
}
.law-card-body ul {
padding-left: 1.3em;
margin: 0;
}
.law-card-body.center {
text-align: center;
}
a:link,
a:visited {
color: #006633;
text-decoration: none;
}
a:hover {
color: #004422;
text-decoration: underline;
}