6
0
Fork 0
This repository has been archived on 2024-10-15. You can view files and clone it, but cannot push or open issues or pull requests.
fediversity_website_archive/themes/nluug/assets/scss/styles.scss

336 lines
5.5 KiB
SCSS
Raw Normal View History

*, :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;
max-width: 1024px;
margin: 0 auto;
}
.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 {
padding-top: 10px;
}
h1, h2, h3 {
//font-size: inherit;
font-size: 1.1em;
font-weight: 600;
//text-transform: uppercase;
}
h4, h5, strong, b {
font-size: inherit;
font-weight: 600;
}
// Highlight-box om bijvoorbeeld onze evenementen opvallend op homepage te laten zien
.highlight-box {
border-radius: 4px;
margin: 2px;
padding: 20px;
}
// Events voor alleen NLUUG-leden krijgen een andere kleur dan events in samenwerking met of die extra aandacht nodig hebben.
.highlight-box-nluug {
background-color: $color-highlight-box-nluug-background;
border: 1px solid $color-highlight-box-nluug-border;
}
.highlight-box-other {
background-color: $color-highlight-box-other-background;
border: 1px solid $color-highlight-box-other-border;
}
.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;
}
// Button
2023-05-15 21:58:14 +02:00
.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;
}
a,
a:visited {
color: inherit;
}
a:hover,
a.heading-link {
2023-05-12 16:44:58 +02:00
color: inherit;
text-decoration: underline;
}
blockquote {
border-left: 5px solid #eee;
padding-left: 1rem;
margin: 0;
}
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: 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;
//}
.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;
}
.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 {
background-color: $color-tags-background;
border-radius: 2px;
color: $color-tags-text;
display: inline;
padding: 3px 8px;
}
.tags li a {
font-size: 0.8em;
text-decoration: none;
}
/* Kolommen voor de footer */
// container
.three-column-grid {
display:block;
}
/* columns */
.three-column-grid > * {
padding:1rem;
}
@media (min-width:768px) {
.three-column-grid {
display: grid;
grid-auto-rows: 1fr;
grid-template-columns: 1fr 1fr 1fr;
}
}
/* Width definitions */
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
/*
2023-05-15 13:11:28 +02:00
.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;
}
*/