2021-07-02 14:17:32 +02:00
|
|
|
|
2021-07-05 13:17:28 +02:00
|
|
|
// general styles
|
|
|
|
//----------------
|
|
|
|
//
|
|
|
|
// mods on fonts and typography
|
|
|
|
// not in foundation variables
|
|
|
|
// -----------------------------
|
2021-07-02 14:17:32 +02:00
|
|
|
|
2021-07-05 13:17:28 +02:00
|
|
|
h1,h2,h3,h4,h5,h6,
|
|
|
|
.h1,.h2,.h3,.h4,.h5,.h6,
|
|
|
|
button,.button,
|
|
|
|
header nav {
|
|
|
|
font-variant:all-small-caps;
|
|
|
|
a {
|
|
|
|
color: $body-font-color;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.excerpt,.post-excerpt{
|
|
|
|
a {
|
|
|
|
color: $body-font-color;
|
|
|
|
&:hover {
|
|
|
|
p {
|
|
|
|
color: $anchor-color;
|
2021-07-02 14:17:32 +02:00
|
|
|
}
|
|
|
|
}
|
2021-07-05 13:17:28 +02:00
|
|
|
}
|
|
|
|
}
|
2021-07-02 14:17:32 +02:00
|
|
|
|
2021-07-05 13:17:28 +02:00
|
|
|
//
|
|
|
|
// main block
|
|
|
|
//--------------
|
2021-07-02 14:17:32 +02:00
|
|
|
|
|
|
|
|
2021-07-05 13:17:28 +02:00
|
|
|
main {
|
|
|
|
article {
|
|
|
|
@include xy-grid;
|
|
|
|
header {
|
|
|
|
@include xy-cell(12);
|
|
|
|
.entry-title {
|
|
|
|
width: 100%;
|
|
|
|
text-align: center;
|
2021-07-02 14:17:32 +02:00
|
|
|
}
|
|
|
|
}
|
2021-07-15 17:21:21 +02:00
|
|
|
section {
|
|
|
|
padding: $global-padding $global-padding*2;
|
|
|
|
}
|
2021-07-28 09:56:49 +02:00
|
|
|
.entry-content,.omekas-entry-content {
|
2021-07-05 13:17:28 +02:00
|
|
|
@include breakpoint(small){
|
|
|
|
@include xy-cell(12);
|
|
|
|
padding: $global-padding*2 ;
|
|
|
|
margin:0 auto;
|
|
|
|
}
|
|
|
|
@include breakpoint(medium){
|
|
|
|
@include xy-cell(12);
|
|
|
|
padding: $global-padding*2 $global-padding*3;
|
|
|
|
max-width: 50rem;
|
|
|
|
margin:0 auto;
|
|
|
|
}
|
|
|
|
@include breakpoint(xlarge){
|
|
|
|
@include xy-cell(12);
|
|
|
|
max-width: 50rem;
|
|
|
|
padding: $global-padding*2 $global-padding*3;
|
|
|
|
font-size: $global-font-size*1.2;
|
|
|
|
margin: 0 auto;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2021-07-02 14:17:32 +02:00
|
|
|
|
|
|
|
|
2021-07-30 11:01:08 +02:00
|
|
|
|
|
|
|
//
|
2021-07-28 09:44:28 +02:00
|
|
|
//
|
2021-07-30 11:01:08 +02:00
|
|
|
// .contain selector for max-width
|
2021-07-28 09:44:28 +02:00
|
|
|
//--------------
|
2021-07-30 11:01:08 +02:00
|
|
|
.contain-width {
|
|
|
|
.entry-content,.omekas-entry-content {
|
|
|
|
@include breakpoint(small){
|
2021-07-28 09:44:28 +02:00
|
|
|
}
|
2021-07-30 11:01:08 +02:00
|
|
|
@include breakpoint(medium){
|
|
|
|
max-width: 50rem;
|
2021-07-28 09:44:28 +02:00
|
|
|
}
|
2021-07-30 11:01:08 +02:00
|
|
|
@include breakpoint(xlarge){
|
|
|
|
max-width: 50rem;
|
2021-07-28 09:44:28 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-07-30 11:01:08 +02:00
|
|
|
|
2021-07-05 13:17:28 +02:00
|
|
|
//
|
|
|
|
// news category
|
|
|
|
//--------------
|
2021-07-02 14:17:32 +02:00
|
|
|
|
2021-07-05 13:17:28 +02:00
|
|
|
.news,.news-category {
|
|
|
|
@include xy-grid;
|
|
|
|
header,main,aside {
|
|
|
|
@include breakpoint(small){
|
|
|
|
padding-top: 0;
|
|
|
|
@include xy-cell(12);
|
|
|
|
@include flex;
|
|
|
|
@include flex-align(center,top);
|
|
|
|
padding-top: $global-padding*3;
|
|
|
|
h3 {
|
|
|
|
line-height: $global-lineheight/1.5;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
main {
|
|
|
|
//@include xy-cell(12);
|
|
|
|
@include xy-grid;
|
|
|
|
article{
|
|
|
|
text-align:center;
|
|
|
|
@include card-container();
|
|
|
|
@include breakpoint(small){
|
|
|
|
@include xy-cell(12);
|
|
|
|
}
|
|
|
|
@include breakpoint(medium){
|
|
|
|
@include xy-cell(6);
|
|
|
|
}
|
|
|
|
@include breakpoint(large){
|
|
|
|
@include xy-cell(4);
|
|
|
|
}
|
|
|
|
figure {
|
2021-07-02 14:17:32 +02:00
|
|
|
@include breakpoint(small){
|
|
|
|
@include xy-cell(12);
|
2021-07-05 13:17:28 +02:00
|
|
|
height: 58vw;
|
|
|
|
max-width: 100%;
|
|
|
|
overflow: hidden;
|
|
|
|
background-position: center;
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-size: cover;
|
2021-07-02 14:17:32 +02:00
|
|
|
}
|
2021-07-05 13:17:28 +02:00
|
|
|
@include breakpoint(medium){
|
|
|
|
height: 28vw;
|
|
|
|
}
|
|
|
|
@include breakpoint(large){
|
|
|
|
height: 20vw;
|
2021-07-02 14:17:32 +02:00
|
|
|
}
|
|
|
|
}
|
2021-07-05 13:17:28 +02:00
|
|
|
.date {
|
|
|
|
// height: 1rem;
|
|
|
|
padding-top: $global-padding*2;
|
2021-07-02 14:17:32 +02:00
|
|
|
}
|
2021-07-05 13:17:28 +02:00
|
|
|
.entry-title {
|
|
|
|
padding-top: $global-padding*2;
|
|
|
|
line-height: 0.7;
|
|
|
|
font-size: $global-font-size*1.5;
|
|
|
|
}
|
|
|
|
|
2021-07-02 14:17:32 +02:00
|
|
|
}
|
2021-07-05 13:17:28 +02:00
|
|
|
}
|
|
|
|
aside {
|
|
|
|
@include breakpoint(small){
|
|
|
|
padding-top:0;
|
|
|
|
padding-bottom: $global-padding*3;
|
|
|
|
}
|
|
|
|
@include breakpoint(medium){
|
|
|
|
padding-top:$global-padding*3;
|
|
|
|
padding-bottom: 0;
|
2021-07-02 14:17:32 +02:00
|
|
|
|
2021-07-05 13:17:28 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
// end news category
|
2021-07-02 14:17:32 +02:00
|
|
|
|
|
|
|
|
2021-07-05 13:17:28 +02:00
|
|
|
//
|
|
|
|
// collections category
|
|
|
|
//--------------
|
|
|
|
|
|
|
|
.collections-list {
|
|
|
|
@include xy-grid;
|
2021-07-27 14:33:52 +02:00
|
|
|
padding:0;
|
2021-07-05 13:17:28 +02:00
|
|
|
header,main{
|
|
|
|
@include xy-cell(12);
|
|
|
|
@include flex;
|
|
|
|
@include flex-align(center,top);
|
|
|
|
}
|
|
|
|
header {
|
|
|
|
margin-top: 2*$global-margin;
|
|
|
|
border-top: 1px solid $body-font-color;
|
|
|
|
padding: $global-padding*2 0;
|
|
|
|
}
|
|
|
|
main {
|
|
|
|
@include xy-grid;
|
2021-07-27 14:33:52 +02:00
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
|
|
|
article {
|
2021-07-05 13:17:28 +02:00
|
|
|
@include card-container();
|
|
|
|
@include xy-cell();
|
2021-07-27 14:33:52 +02:00
|
|
|
width: 100%;
|
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
|
|
|
@include breakpoint(small){
|
2021-07-06 12:25:02 +02:00
|
|
|
font-size: $global-font-size*0.7;
|
2021-07-02 14:17:32 +02:00
|
|
|
}
|
2021-07-05 13:17:28 +02:00
|
|
|
@include breakpoint(medium){
|
2021-07-06 12:25:02 +02:00
|
|
|
font-size: $global-font-size*1;
|
2021-07-02 14:17:32 +02:00
|
|
|
}
|
2021-07-05 13:17:28 +02:00
|
|
|
@include breakpoint(large){
|
2021-07-02 14:17:32 +02:00
|
|
|
}
|
2021-07-05 13:17:28 +02:00
|
|
|
margin-bottom:0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.accordion-content {
|
2021-07-27 14:33:52 +02:00
|
|
|
padding-top: 0;
|
2021-07-06 12:25:02 +02:00
|
|
|
section {
|
|
|
|
@include xy-grid;
|
2021-07-27 14:33:52 +02:00
|
|
|
padding-top: 0;
|
|
|
|
padding-bottom: 0;
|
2021-07-06 12:25:02 +02:00
|
|
|
@include breakpoint(small){
|
|
|
|
figure {
|
|
|
|
@include xy-cell(12);
|
2021-07-27 14:33:52 +02:00
|
|
|
background-color: $light-gray;
|
|
|
|
margin-left:0;
|
|
|
|
margin-right:0;
|
2021-07-06 12:25:02 +02:00
|
|
|
}
|
|
|
|
p {
|
|
|
|
@include xy-cell(12);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@include breakpoint(medium){
|
|
|
|
figure {
|
|
|
|
@include xy-cell(3);
|
2021-07-27 14:33:52 +02:00
|
|
|
margin-left: 0;
|
2021-07-06 12:25:02 +02:00
|
|
|
}
|
|
|
|
p {
|
|
|
|
@include xy-cell(9);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@include breakpoint(large){
|
|
|
|
}
|
2021-07-05 13:17:28 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
// end collections category
|
2021-07-02 14:17:32 +02:00
|
|
|
|
2021-07-05 13:17:28 +02:00
|
|
|
// partners
|
|
|
|
// for big announcemnts
|
|
|
|
//---------------------
|
2021-07-02 14:17:32 +02:00
|
|
|
|
|
|
|
.partners {
|
|
|
|
.entry-content {
|
|
|
|
max-width: unset;
|
|
|
|
p {
|
|
|
|
padding-left: 30vw;
|
|
|
|
padding-bottom: 2rem;
|
|
|
|
margin-bottom: 2rem;
|
|
|
|
&:after {
|
|
|
|
content: '';
|
|
|
|
display: inline-block;
|
|
|
|
border-bottom: 1px solid $body-font-color;
|
|
|
|
width: 100vw;
|
|
|
|
position: absolute;
|
|
|
|
left: 0;
|
|
|
|
padding-top: 2rem;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.alignleft {
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
.wp-block-image {
|
|
|
|
margin: 0;
|
|
|
|
}
|
2021-07-05 13:17:28 +02:00
|
|
|
}
|
|
|
|
}
|
2021-07-02 14:17:32 +02:00
|
|
|
|
2021-07-05 13:17:28 +02:00
|
|
|
//
|
|
|
|
// hero
|
|
|
|
// for big announcemnts
|
|
|
|
//---------------------
|
2021-07-02 14:17:32 +02:00
|
|
|
|
|
|
|
|
2021-07-05 13:17:28 +02:00
|
|
|
.hero {
|
|
|
|
border-top: 2px solid $primary-color;
|
|
|
|
.slides {
|
|
|
|
@include xy-grid();
|
|
|
|
.slide {
|
|
|
|
@include xy-grid;
|
2021-07-06 12:25:02 +02:00
|
|
|
justify-content: center;
|
2021-07-05 13:17:28 +02:00
|
|
|
@include breakpoint(small){
|
|
|
|
width: 100vw;
|
|
|
|
margin: 0;
|
2021-07-06 12:25:02 +02:00
|
|
|
padding: $global-padding * 3;
|
2021-07-05 13:17:28 +02:00
|
|
|
.textwidget {
|
2021-07-02 14:17:32 +02:00
|
|
|
}
|
2021-07-05 13:17:28 +02:00
|
|
|
}
|
|
|
|
@include breakpoint(medium){
|
|
|
|
.textwidget {
|
|
|
|
max-width: 50rem;
|
|
|
|
margin:auto;
|
|
|
|
padding: $global-padding * 2;
|
|
|
|
font-size: $global-font-size*1.3;
|
2021-07-02 14:17:32 +02:00
|
|
|
}
|
2021-07-05 13:17:28 +02:00
|
|
|
}
|
|
|
|
@include breakpoint(large){
|
|
|
|
width: 50%;
|
|
|
|
height: calc((50vw*9)/16);
|
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
|
|
|
overflow:hidden;
|
|
|
|
a {
|
|
|
|
@include flex;
|
|
|
|
@include flex-align (center,middle);
|
|
|
|
}
|
|
|
|
img {
|
2021-07-02 14:17:32 +02:00
|
|
|
// max-width: unset !important;
|
2021-07-05 13:17:28 +02:00
|
|
|
height: 100% !important;
|
2021-07-02 14:17:32 +02:00
|
|
|
}
|
2021-07-05 13:17:28 +02:00
|
|
|
.textwidget {
|
|
|
|
font-size: $global-font-size*1.2;
|
|
|
|
padding: $global-padding * 2;
|
2021-07-02 14:17:32 +02:00
|
|
|
}
|
2021-07-05 13:17:28 +02:00
|
|
|
}
|
|
|
|
@include breakpoint(xlarge){
|
|
|
|
.textwidget {
|
|
|
|
font-size: $global-font-size*1.3;
|
|
|
|
padding: $global-padding*3;
|
2021-07-02 14:17:32 +02:00
|
|
|
}
|
2021-07-05 13:17:28 +02:00
|
|
|
}
|
|
|
|
@include breakpoint(xxlarge){
|
|
|
|
.textwidget {
|
|
|
|
font-size: $global-font-size*1.6;
|
|
|
|
padding: $global-padding*3;
|
2021-07-02 14:17:32 +02:00
|
|
|
}
|
2021-07-05 13:17:28 +02:00
|
|
|
}
|
|
|
|
&:first-child {
|
|
|
|
background-color: $primary-color;
|
|
|
|
font-variant:all-small-caps;
|
|
|
|
}
|
|
|
|
color: $white;
|
2021-07-02 14:17:32 +02:00
|
|
|
|
2021-07-05 13:17:28 +02:00
|
|
|
.logo {
|
|
|
|
@include breakpoint(medium){
|
|
|
|
max-width: 80%;
|
2021-07-02 14:17:32 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2021-07-05 13:17:28 +02:00
|
|
|
}
|
|
|
|
aside {
|
|
|
|
@include xy-grid();
|
|
|
|
background-color: $secondary-color;
|
|
|
|
nav {
|
|
|
|
@include xy-cell(auto);
|
|
|
|
@include flex;
|
|
|
|
@include flex-align(spaced,middle);
|
|
|
|
min-height: 6rem;
|
|
|
|
padding: $global-padding 0 ;
|
|
|
|
a {
|
|
|
|
color: $body-font-color;
|
|
|
|
}
|
|
|
|
.button {
|
|
|
|
justify-content:center;
|
2021-07-02 14:17:32 +02:00
|
|
|
}
|
|
|
|
}
|
2021-07-05 13:17:28 +02:00
|
|
|
}
|
|
|
|
//hero secondary
|
|
|
|
&.secondary {
|
|
|
|
border-top: none;
|
|
|
|
background-color: $secondary-color;
|
|
|
|
.slide{
|
|
|
|
figure {
|
|
|
|
background-color: unset;
|
2021-07-02 14:17:32 +02:00
|
|
|
}
|
|
|
|
}
|
2021-07-05 13:17:28 +02:00
|
|
|
}
|
|
|
|
&.omeka {
|
|
|
|
border-top: none;
|
|
|
|
max-height: unset;
|
|
|
|
@include breakpoint(small){
|
|
|
|
.slides {
|
|
|
|
background-color: $secondary-color;
|
|
|
|
.slide {
|
|
|
|
flex-direction: column;
|
|
|
|
align-content: center;
|
|
|
|
align-self: center;
|
|
|
|
margin: $global-margin auto;
|
|
|
|
&:first-child {
|
|
|
|
color: unset;
|
|
|
|
background-color: unset;
|
|
|
|
font-variant:all-small-caps;
|
|
|
|
}
|
|
|
|
figure {
|
|
|
|
margin: 0 auto;
|
|
|
|
display:flex;
|
|
|
|
justify-content: center;
|
2021-07-02 14:17:32 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2021-07-05 13:17:28 +02:00
|
|
|
}
|
|
|
|
aside {
|
|
|
|
background-color: $white;
|
|
|
|
flex-direction: column;
|
|
|
|
align-content: center;
|
|
|
|
h2 {
|
|
|
|
margin: $global-margin;
|
2021-07-02 14:17:32 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2021-07-05 13:17:28 +02:00
|
|
|
}
|
|
|
|
//end hero
|
|
|
|
|
|
|
|
// omeka specific styles
|
|
|
|
#user-bar {
|
|
|
|
width: 100%;
|
|
|
|
|
|
|
|
}
|
|
|
|
//end omeka specific styles
|