This repository has been archived on 2024-11-13. You can view files and clone it, but cannot push or open issues or pull requests.
fediversity_website/themes/nluug/assets/scss/styles.scss

310 lines
5.2 KiB
SCSS
Raw Normal View History

$color-button: #1D3160;
$color-button-hover: #17274d;
2023-05-15 21:58:14 +02:00
$color-button-call-to-action: #138808;
$color-button-call-to-action-hover: #0F6D06; // %25 donkerder dan #138808 met encycolorpedia
$color-header: #6A2060;
$color-highlight-box-border: #6A2060;
$color-highlight-box-background: #EBBCE5; // omgezet naar lichtere kleur via https://encycolorpedia.com/6a2060
$color-border: #6A2060;
$color-text-inverse: white;
2023-05-15 21:58:14 +02:00
*, :after, :before {
box-sizing: border-box;
padding: 0;
}
body {
font: 1rem/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,Roboto,noto,"Helvetica Neue",helvetica,arial,sans-serif;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
padding: 1.2rem;
// background: hsla(93, 0%, 96%, 1.00);
2023-05-15 21:58:14 +02:00
color: #2E2E2E;
}
.skip-link {
position: absolute;
top: -40px;
left: 0;
//margin: 1.5rem 0;
background: #eee;
//color: white;
//padding: 1.5rem;
z-index: 100;
}
.skip-link:focus {
top: 0;
}
figure {
margin-inline-start: 10px;
margin-inline-end: 10px;
}
2023-05-15 21:58:14 +02:00
footer {
background-color: #E3E9F7;
border-top: 1px solid #99AFE2;
margin-top: 40px;
padding: 20px;
}
.grid-team-members {
display: grid;
grid-template-columns: repeat(3, 1fr);
column-gap: 1px;
}
.grid-team-members-small-photos {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
column-gap: 1px;
}
h1, h2, h3, h4, h5, strong, b {
font-size: inherit;
font-weight: 600;
//text-transform: uppercase;
}
// Highlight-box om bijvoorbeeld onze evenementen opvallend op homepage te laten zien
.highlight-box {
background-color: $color-highlight-box-background;
padding: 10px;
margin: 2px;
border: 2px solid $color-highlight-box-border;
border-radius: 4px;
}
.link {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
text-decoration: none;
}
a.button:link, a.button:visited {
background-color: $color-button;
border-radius: 4px;
color: white;
padding: 14px 25px;
text-align: center;
text-decoration: none;
display: inline-block;
}
a.button:hover, a.button:active {
background-color: $color-button-hover;
}
a.footer-social:link, .a.footer-social:hover {
text-decoration: none;
margin: 5px;
}
2023-05-15 21:58:14 +02:00
// Button
.btn:link, .btn:visited {
border-radius: 4px;
color: white;
padding: 14px 25px;
text-align: center;
text-decoration: none;
display: inline-block;
}
// Button voor call-to-action, <a href="#" class="btn btn-cta">#</a>
.btn-cta:link, .btn-cta:visited {
background-color: $color-button-call-to-action;
}
.btn-cta:hover, .btn-cta:active {
background-color: $color-button-call-to-action-hover;
}
.time {
font-variant-numeric: tabular-nums;
white-space: nowrap;
}
blockquote {
border-left: 5px solid #eee;
padding-left: 1rem;
margin: 0;
}
a,
a:visited {
color: inherit;
}
a:hover,
a.heading-link {
2023-05-12 16:44:58 +02:00
color: inherit;
text-decoration: underline;
}
pre {
padding: .5rem;
overflow: auto;
overflow-x: scroll;
overflow-wrap: normal;
}
code, pre {
font-family: San Francisco Mono, Monaco, "Consolas", "Lucida Console","DejaVu Sans Mono", "Bitstream Vera Sans Mono", monospace;
font-size: small;
background: #eee
}
code {
margin: .1rem;
border: none;
}
ul {
list-style-type: square;
}
ul, ol {
padding-left: 1.2rem;
}
.list {
line-height: 2;
list-style-type: none;
padding-left: 0;
}
.list li {
padding-bottom: .1rem
}
.meta {
color: #777
}
.content {
max-width: 1024px;
margin: 0 auto;
// text-align: justify;
}
h2.post {
padding-top: .5rem;
}
.list li {
display: flex;
align-items: baseline;
}
.list li time {
flex: 0 1 auto;
}
.hr-list {
margin-top: 0;
margin-bottom: 0;
margin-right: .5rem;
margin-left: .5rem;
height: 1px;
border: 0;
border-bottom: 1px dotted #ccc;
flex: 1 0 1rem;
//opacity: .25;
}
2023-05-12 20:44:14 +02:00
.m,hr {
border: 0;
2023-05-16 20:24:54 +02:00
margin: 3rem 0;
}
.m-b-sm {
margin-bottom: 1rem;
}
2023-05-16 20:24:54 +02:00
.m-sm {
margin: 1rem;
}
img {
max-width: 100%;
height: auto;
}
.post-date {
margin: 5% 0 5%;
}
.index-date {
color: #9a9a9a;
}
.tags {
display: flex;
justify-content: space-between;
}
.tags ul {
padding: 0;
margin: 0;
}
.tags li {
display: inline;
}
2023-05-16 20:24:54 +02:00
.w-10 { width: 10%; }
.w-20 { width: 20%; }
.w-30 { width: 30%; }
.w-40 { width: 40%; }
.w-50 { width: 50%; }
2023-05-15 13:11:28 +02:00
/* Table Styles */
.table-wrapper{
margin: 10px 10px 30px;
box-shadow: 0px 10px 20px rgba( 0, 0, 0, 0.2 );
overflow-x:auto;
2023-05-15 13:11:28 +02:00
}
.fl-table {
border-radius: 5px;
2023-05-16 20:24:54 +02:00
font-size: 14px;
2023-05-15 13:11:28 +02:00
font-weight: normal;
border: none;
border-collapse: collapse;
width: 100%;
max-width: 100%;
background-color: white;
}
.fl-table td, .fl-table th {
text-align: left;
2023-05-15 13:11:28 +02:00
padding: 8px;
2023-05-16 20:24:54 +02:00
vertical-align: top;
2023-05-15 13:11:28 +02:00
}
.fl-table td {
border-right: 1px solid #f8f8f8;
2023-05-16 20:24:54 +02:00
font-size: 14px;
2023-05-15 13:11:28 +02:00
}
.fl-table thead th {
color: #ffffff;
background: #324960;
}
.fl-table thead th:nth-child(odd) {
color: #ffffff;
background: #324960;
}
.fl-table tr:nth-child(even) {
background: #F8F8F8;
}