User:Fen/Portals/Orginizations/styles.css: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 39: | Line 39: | ||
.org-grid { | .org-grid { | ||
display: grid; | display: grid; | ||
grid-template-columns: | grid-template-columns: 1fr 1fr; | ||
gap: 1.5em; | gap: 1.5em; | ||
} | } | ||
| Line 105: | Line 105: | ||
} | } | ||
.org-card-body a | @media screen { | ||
html.skin-theme-clientpref-night .org-portal-wrapper, | |||
color: # | html.skin-theme-clientpref-os .org-portal-wrapper { | ||
background: linear-gradient(to bottom, #1b1c1e, #111); | |||
border-top: 8px solid #888; | |||
color: #e0e0e0; | |||
box-shadow: 0 0 14px rgba(0,0,0,0.6); | |||
} | |||
html.skin-theme-clientpref-night .org-header, | |||
html.skin-theme-clientpref-os .org-header { | |||
background: linear-gradient(to right, #111, #000); | |||
color: #fff; | |||
border-left-color: #ff4c4c; | |||
border-right-color: #ff4c4c; | |||
} | |||
html.skin-theme-clientpref-night .org-title, | |||
html.skin-theme-clientpref-os .org-title { | |||
color: #f5f5f5; | |||
} | |||
html.skin-theme-clientpref-night .org-subtitle, | |||
html.skin-theme-clientpref-os .org-subtitle { | |||
color: #bbbbbb; | |||
} | |||
html.skin-theme-clientpref-night .org-card, | |||
html.skin-theme-clientpref-os .org-card { | |||
background-color: #262729; | |||
border: 2px solid #555; | |||
border-left: 8px solid #aaa; | |||
box-shadow: 0 4px 16px rgba(0,0,0,0.5); | |||
} | |||
html.skin-theme-clientpref-night .org-card-title, | |||
html.skin-theme-clientpref-os .org-card-title { | |||
color: #ffffff; | |||
border-bottom-color: #888; | |||
} | |||
html.skin-theme-clientpref-night .org-card-body, | |||
html.skin-theme-clientpref-os .org-card-body { | |||
color: #dddddd; | |||
} | |||
html.skin-theme-clientpref-night a:link, | |||
html.skin-theme-clientpref-night a:visited, | |||
html.skin-theme-clientpref-os a:link, | |||
html.skin-theme-clientpref-os a:visited { | |||
color: #66b2ff; | |||
} | |||
html.skin-theme-clientpref-night a:hover, | |||
html.skin-theme-clientpref-os a:hover { | |||
color: #99ccff; | |||
} | |||
html.skin-theme-clientpref-night .org-card-body a, | |||
html.skin-theme-clientpref-os .org-card-body a { | |||
font-weight: bold; | |||
color: #ff9999; | |||
} | |||
} | } | ||
Latest revision as of 03:10, 14 August 2025
.org-portal-wrapper {
font-family: 'Georgia', serif;
background: linear-gradient(to bottom, #fdfcf9, #f4f4f4);
padding: 2em;
margin: auto;
max-width: 1200px;
border-top: 8px solid #333;
box-shadow: 0 0 12px rgba(0,0,0,0.15);
border-radius: 8px;
}
.org-header {
background: linear-gradient(to right, #333, #111);
color: #fff;
text-align: center;
padding: 1.5em;
border-radius: 6px;
margin-bottom: 2em;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
border-left: 8px solid #ba0000;
border-right: 8px solid #ba0000;
}
.org-title {
font-size: 2.4em;
font-weight: 900;
text-transform: uppercase;
letter-spacing: 1px;
margin: 0;
}
.org-subtitle {
font-size: 1.1em;
font-style: italic;
color: #ddd;
margin-top: 0.5em;
}
.org-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 1.5em;
}
.org-card {
background-color: #ffffff;
border: 2px solid #ddd;
border-left: 8px solid #222;
padding: 1em;
box-shadow: 0 4px 12px rgba(0,0,0,0.05);
transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.org-card:hover {
transform: translateY(-4px);
box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}
.org-card.wide {
grid-column: 1 / -1;
}
.org-card-title {
font-size: 1.2em;
color: #111;
border-bottom: 2px solid #444;
margin-bottom: 0.5em;
font-weight: bold;
}
.org-card-body {
font-size: 0.96em;
color: #333;
line-height: 1.6;
}
.org-card-body ul {
list-style-type: square;
padding-left: 1.2em;
margin: 0.5em 0;
}
.org-card-body li {
margin-bottom: 0.5em;
}
.center {
text-align: center;
}
a:link,
a:visited {
color: #3366cc;
text-decoration: none;
transition: color 0.2s ease, text-decoration 0.2s ease;
}
a:hover,
a:focus {
color: #224499;
text-decoration: underline;
}
.org-card-body a {
font-weight: bold;
}
@media screen {
html.skin-theme-clientpref-night .org-portal-wrapper,
html.skin-theme-clientpref-os .org-portal-wrapper {
background: linear-gradient(to bottom, #1b1c1e, #111);
border-top: 8px solid #888;
color: #e0e0e0;
box-shadow: 0 0 14px rgba(0,0,0,0.6);
}
html.skin-theme-clientpref-night .org-header,
html.skin-theme-clientpref-os .org-header {
background: linear-gradient(to right, #111, #000);
color: #fff;
border-left-color: #ff4c4c;
border-right-color: #ff4c4c;
}
html.skin-theme-clientpref-night .org-title,
html.skin-theme-clientpref-os .org-title {
color: #f5f5f5;
}
html.skin-theme-clientpref-night .org-subtitle,
html.skin-theme-clientpref-os .org-subtitle {
color: #bbbbbb;
}
html.skin-theme-clientpref-night .org-card,
html.skin-theme-clientpref-os .org-card {
background-color: #262729;
border: 2px solid #555;
border-left: 8px solid #aaa;
box-shadow: 0 4px 16px rgba(0,0,0,0.5);
}
html.skin-theme-clientpref-night .org-card-title,
html.skin-theme-clientpref-os .org-card-title {
color: #ffffff;
border-bottom-color: #888;
}
html.skin-theme-clientpref-night .org-card-body,
html.skin-theme-clientpref-os .org-card-body {
color: #dddddd;
}
html.skin-theme-clientpref-night a:link,
html.skin-theme-clientpref-night a:visited,
html.skin-theme-clientpref-os a:link,
html.skin-theme-clientpref-os a:visited {
color: #66b2ff;
}
html.skin-theme-clientpref-night a:hover,
html.skin-theme-clientpref-os a:hover {
color: #99ccff;
}
html.skin-theme-clientpref-night .org-card-body a,
html.skin-theme-clientpref-os .org-card-body a {
font-weight: bold;
color: #ff9999;
}
}