|
|
@@ -373,6 +373,10 @@ Slick carousels
|
|
|
margin: 0 auto;
|
|
|
}
|
|
|
|
|
|
+ .carousel-img {
|
|
|
+ height: auto;
|
|
|
+ }
|
|
|
+
|
|
|
.slick-track {
|
|
|
overflow: hidden;
|
|
|
}
|
|
|
@@ -382,12 +386,12 @@ Slick carousels
|
|
|
}
|
|
|
|
|
|
/*Default CSS, in case slick is not loaded or activated*/
|
|
|
- .carousel .carousel-img:not(.slick-slide) {
|
|
|
+ .carousel div:not(.slick-slide) > div > div > .carousel-img {
|
|
|
width: 100%;
|
|
|
display: none;
|
|
|
}
|
|
|
|
|
|
- .carousel .carousel-img:first-child:not(.slick-slide) {
|
|
|
+ .carousel div:not(.slick-slide):first-child > div > div > .carousel-img {
|
|
|
display: inline;
|
|
|
}
|
|
|
|
|
|
@@ -417,15 +421,6 @@ Slick carousels
|
|
|
Members and Ca Members pages
|
|
|
============================*/
|
|
|
|
|
|
-.team-photo {
|
|
|
- width: 240px;
|
|
|
- height: 240px;
|
|
|
- display: flex;
|
|
|
- flex-direction: column;
|
|
|
- justify-content: center;
|
|
|
- align-items: center;
|
|
|
-}
|
|
|
-
|
|
|
|
|
|
|
|
|
/*============================
|
|
|
@@ -673,6 +668,146 @@ Event's details pages
|
|
|
Events preview
|
|
|
============================*/
|
|
|
|
|
|
+
|
|
|
+/*============================
|
|
|
+Structures page
|
|
|
+============================*/
|
|
|
+
|
|
|
+.ot-structures {
|
|
|
+ display: flex;
|
|
|
+ flex-direction: row;
|
|
|
+}
|
|
|
+
|
|
|
+.ot-structures .structure-controls {
|
|
|
+ order: 1;
|
|
|
+ flex: 1;
|
|
|
+}
|
|
|
+
|
|
|
+.ot-structures .structure-results {
|
|
|
+ order: 0;
|
|
|
+ flex: 1;
|
|
|
+}
|
|
|
+
|
|
|
+.ot-structures .structure-controls, .structure-results {
|
|
|
+ display: flex;
|
|
|
+ flex-direction: column;
|
|
|
+ margin: 0 1.5em;
|
|
|
+}
|
|
|
+
|
|
|
+.ot-structures .structure-search {
|
|
|
+ display: flex;
|
|
|
+ flex-direction: column;
|
|
|
+ margin-bottom: 2em;
|
|
|
+}
|
|
|
+
|
|
|
+.ot-structures h3 {
|
|
|
+ font-size: 1.2em;
|
|
|
+ font-weight: bold;
|
|
|
+}
|
|
|
+
|
|
|
+.ot-structures .structure-search form {
|
|
|
+ display: flex;
|
|
|
+ flex-direction: column;
|
|
|
+}
|
|
|
+
|
|
|
+.ot-structures .structure-search form input, button {
|
|
|
+ margin-bottom: 1em;
|
|
|
+ line-height: 1.4em;
|
|
|
+ font-size: 1.1em;
|
|
|
+ border: 1px solid #ccc;
|
|
|
+ border-radius: 4px;
|
|
|
+ padding: 6px 12px;
|
|
|
+}
|
|
|
+
|
|
|
+.ot-structures .structure-search form button {
|
|
|
+ border: solid 2px #cccccc;
|
|
|
+ color: #333333;
|
|
|
+}
|
|
|
+
|
|
|
+.ot-structures .structure-search form button:hover {
|
|
|
+ background-color: #d8edf3;
|
|
|
+ cursor: pointer;
|
|
|
+}
|
|
|
+
|
|
|
+.ot-structures #structure-map {
|
|
|
+ height: 400px;
|
|
|
+ width: 100%;
|
|
|
+ align-self: flex-end;
|
|
|
+}
|
|
|
+
|
|
|
+.ot-structures .structure {
|
|
|
+ display: flex;
|
|
|
+ flex-direction: column;
|
|
|
+ border-bottom: solid 2px #cccccc;
|
|
|
+ border-radius: 4px;
|
|
|
+ height: 200px;
|
|
|
+ padding: 1em;
|
|
|
+ justify-content: space-around;
|
|
|
+}
|
|
|
+
|
|
|
+.ot-structures .structure-preview {
|
|
|
+ display: flex;
|
|
|
+ flex-direction: row;
|
|
|
+ align-items: center;
|
|
|
+}
|
|
|
+
|
|
|
+.ot-structures .structure-preview .structure-poster {
|
|
|
+ flex: 1;
|
|
|
+ display: flex;
|
|
|
+ flex-direction: column;
|
|
|
+ align-items: center;
|
|
|
+}
|
|
|
+
|
|
|
+.ot-structures .structure-preview .structure-poster img {
|
|
|
+ width: auto;
|
|
|
+ max-width: 100%;
|
|
|
+ min-width: 40%;
|
|
|
+ height: auto;
|
|
|
+ margin-right: 4em;
|
|
|
+}
|
|
|
+
|
|
|
+.ot-structures .structure-preview .structure-summary {
|
|
|
+ flex: 2;
|
|
|
+ display: flex;
|
|
|
+ flex-direction: column;
|
|
|
+}
|
|
|
+
|
|
|
+.ot-structures .structure-preview .structure-summary > span {
|
|
|
+ margin-bottom: 0.5em;
|
|
|
+}
|
|
|
+
|
|
|
+.ot-structures .structure-preview .structure-name {
|
|
|
+ font-size: 1.4em;
|
|
|
+ color: #333333;
|
|
|
+ font-weight: bold;
|
|
|
+}
|
|
|
+
|
|
|
+.ot-structures .structure-preview .structure-loc-date {
|
|
|
+ font-size: 1.1em;
|
|
|
+ color: #4d4d4d;
|
|
|
+ font-weight: bold;
|
|
|
+}
|
|
|
+
|
|
|
+.ot-structures .structure-preview .structure-description {
|
|
|
+ color: #4d4d4d;
|
|
|
+}
|
|
|
+
|
|
|
+.ot-structures .structure-see {
|
|
|
+ align-self: stretch;
|
|
|
+ padding: 0.4em 0.8em;
|
|
|
+ font-size: 1.1em;
|
|
|
+ margin-top: 0.4em;
|
|
|
+ display: flex;
|
|
|
+ flex-direction: row;
|
|
|
+ justify-content: center;
|
|
|
+ align-items: center;
|
|
|
+}
|
|
|
+
|
|
|
+.ot-structures .structure-see:hover {
|
|
|
+ text-decoration: none;
|
|
|
+ font-weight: bold;
|
|
|
+}
|
|
|
+
|
|
|
/*============================
|
|
|
Sitemap page
|
|
|
============================*/
|
|
|
@@ -701,3 +836,62 @@ Sitemap page
|
|
|
padding-bottom: 0.5em;
|
|
|
color: #979797;
|
|
|
}
|
|
|
+
|
|
|
+/* prevents iframe to oversize the content width*/
|
|
|
+iframe {
|
|
|
+ width: 100%;
|
|
|
+ height: auto;
|
|
|
+ max-width: 560px;
|
|
|
+}
|
|
|
+
|
|
|
+/*============================
|
|
|
+Media queries
|
|
|
+============================*/
|
|
|
+
|
|
|
+@media screen and (max-width: 900px) {
|
|
|
+
|
|
|
+
|
|
|
+ /* Events page*/
|
|
|
+ .ot-all-events {
|
|
|
+ flex-direction: column;
|
|
|
+ }
|
|
|
+
|
|
|
+ .ot-all-events .event {
|
|
|
+ height: auto;
|
|
|
+ }
|
|
|
+
|
|
|
+ .ot-all-events .event-preview {
|
|
|
+ flex-direction: column;
|
|
|
+ }
|
|
|
+
|
|
|
+ .ot-all-events .event-preview .event-poster img {
|
|
|
+ margin-right: 0;
|
|
|
+ margin-bottom: 10px;
|
|
|
+ }
|
|
|
+
|
|
|
+ .ot-all-events .event-preview .event-name {
|
|
|
+ text-align: center;
|
|
|
+ }
|
|
|
+
|
|
|
+/* Structures page*/
|
|
|
+ .ot-structures {
|
|
|
+ flex-direction: column;
|
|
|
+ }
|
|
|
+
|
|
|
+ .ot-structures .structure-controls {
|
|
|
+ order: 0;
|
|
|
+ }
|
|
|
+
|
|
|
+ .ot-structures .structure-results {
|
|
|
+ order: 1;
|
|
|
+ }
|
|
|
+
|
|
|
+ .ot-structures .structure {
|
|
|
+ height: auto;
|
|
|
+ }
|
|
|
+
|
|
|
+/* Members */
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+}
|