You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
458 lines
7.1 KiB
458 lines
7.1 KiB
/*nice body-border color combos
|
|
|
|
antiquewhite - burlywood
|
|
peachpuff - tomato
|
|
lightpink - crimson
|
|
lightblue - cornflowerblue
|
|
palegreen - lightseagreen
|
|
|
|
fonts
|
|
bungeeshade
|
|
allerta
|
|
*/
|
|
|
|
:root {
|
|
--border-color: tomato;
|
|
}
|
|
|
|
/*Main Stuff*/
|
|
body {
|
|
font-size:16px;
|
|
font-family: sans-serif;
|
|
color: maroon;
|
|
}
|
|
|
|
a {
|
|
color: #1B4C8A;
|
|
}
|
|
|
|
* {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
#content {
|
|
margin: 2em auto;
|
|
max-width: 80%;
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.card{
|
|
|
|
border: 2px solid var(--border-color);
|
|
box-shadow:1em 1em 0 #d2d1c8;
|
|
background-color: #fff09d;
|
|
max-width: 600px;
|
|
margin-bottom: 2em;
|
|
flex: auto;
|
|
margin: 0 3em 3em 0;
|
|
align-self: start;
|
|
|
|
}
|
|
|
|
.card{
|
|
background-color: peachpuff;
|
|
}
|
|
|
|
.side-bar {
|
|
border: 2px solid var(--border-color);
|
|
max-width: 400px;
|
|
}
|
|
|
|
|
|
.card:nth-child(even){
|
|
transform: rotate(-1deg);
|
|
}
|
|
|
|
.card:nth-child(odd){
|
|
transform: rotate(1deg);
|
|
}
|
|
|
|
.card:nth-child(5){
|
|
transform: rotate(2deg);
|
|
}
|
|
|
|
|
|
.video.box{
|
|
margin-top:3em;
|
|
}
|
|
|
|
.bar{
|
|
border: 2px solid var(--border-color);
|
|
box-shadow: 0.6em 0.6em 0 #d2d1c8;
|
|
margin-bottom: 2em;
|
|
margin-top:3em;
|
|
display: inline-block;
|
|
background-color: #fff09d;
|
|
}
|
|
|
|
.h-feed{
|
|
display: flex;
|
|
flex-flow: row wrap;
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
.entries{
|
|
padding-top: 15%;
|
|
}
|
|
|
|
/* base header & menu */
|
|
|
|
#top-menu{
|
|
position: fixed;
|
|
left: 50%;
|
|
transform: translate(-50%);
|
|
width: 90%;
|
|
z-index: 1;
|
|
margin-top: 1em;
|
|
}
|
|
|
|
.logo {
|
|
margin-left: 0.5em;
|
|
margin-right: 0.5em;
|
|
margin-top: 0.2em;
|
|
margin-bottom: 0.2em;
|
|
}
|
|
|
|
.logo a {
|
|
text-decoration: none;
|
|
}
|
|
|
|
.menu {
|
|
border-top: 2px solid var(--border-color);
|
|
margin: 0px;
|
|
padding: 0px;
|
|
|
|
}
|
|
|
|
.menu ul{
|
|
list-style-type: none;
|
|
margin: 0;
|
|
padding: 0;
|
|
display: flex;
|
|
}
|
|
|
|
.menu-nav-item {
|
|
border-right: 2px solid var(--border-color);
|
|
padding: 0.5em;
|
|
}
|
|
|
|
/*Article Summary Cards*/
|
|
|
|
.h-entry header {
|
|
display: flex;
|
|
border-bottom: 2px solid var(--border-color);
|
|
}
|
|
|
|
.h-entry header h2{
|
|
padding: 0.2em;
|
|
margin: 0;
|
|
padding-right: 0.3em;
|
|
padding-left: 0.3em;
|
|
border-right: 2px solid var(--border-color);
|
|
}
|
|
|
|
.h-entry header h2:hover{
|
|
box-shadow: inset 4px 4px 0px tomato;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.h-entry header h2 a {
|
|
text-decoration: none;
|
|
color: var(--border-color);
|
|
}
|
|
|
|
|
|
.h-entry header .header-metadata{
|
|
margin: 0;
|
|
padding: 0.5em;
|
|
display: flex;
|
|
flex-flow: column wrap;
|
|
font-size: 0.9em;
|
|
align-content: flex-end;
|
|
}
|
|
|
|
.p-summary.truncated.image {
|
|
display: flex;
|
|
flex-direction: row-reverse;
|
|
}
|
|
|
|
.p-summary.truncated {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.summary-text {
|
|
flex: 1;
|
|
padding: 1em;
|
|
max-height: 300px;
|
|
min-width: 20ch;
|
|
text-overflow: ellipsis;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.summary-image > img {
|
|
height: 100%;
|
|
object-fit: cover;
|
|
max-width: 100%;
|
|
|
|
}
|
|
|
|
.summary-image{
|
|
border-right: 2px solid var(--border-color);
|
|
}
|
|
|
|
footer.post-footer {
|
|
display: flex;
|
|
flex-flow: row-reverse;
|
|
}
|
|
|
|
.footer-filler{
|
|
border-top: 2px solid var(--border-color);
|
|
flex-grow: 1;
|
|
}
|
|
.read-more {
|
|
border-top: 2px solid var(--border-color);
|
|
border-left: 2px solid var(--border-color);
|
|
align-content: flex-end;
|
|
padding: 0.2em 1em 0.2em 1em;
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
/* network cards */
|
|
|
|
.card.network{
|
|
|
|
border: 2px solid lightseagreen;
|
|
box-shadow:1em 1em 0 #d2d1c8;
|
|
background-color: lightgreen;
|
|
max-width: 360px;
|
|
margin-bottom: 2em;
|
|
flex: auto;
|
|
margin: 0 3em 3em 0;
|
|
align-self: start;
|
|
color: rgba(60,60,60,0.8);
|
|
}
|
|
|
|
.h-entry.network header {
|
|
display: flex;
|
|
border-bottom: 2px solid lightseagreen;
|
|
}
|
|
|
|
.h-entry.network header h2{
|
|
padding: 0.2em 0.5em 0.2em 0.5em;
|
|
margin: 0;
|
|
border-right: 2px solid lightseagreen;
|
|
}
|
|
|
|
.h-entry.network header h2:hover{
|
|
box-shadow: inset 4px 4px 0px lightseagreen;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.h-entry.network header h2 a {
|
|
text-decoration: none;
|
|
color: royalblue;
|
|
}
|
|
|
|
|
|
/* calendar cards */
|
|
|
|
.card.calendar {
|
|
border: 2px solid cornflowerblue;
|
|
box-shadow:1em 1em 0 #d2d1c8;
|
|
background-color: lightblue;
|
|
max-width: 360px;
|
|
margin-bottom: 2em;
|
|
flex: auto;
|
|
margin: 0 3em 3em 0;
|
|
align-self: start;
|
|
color: royalblue;
|
|
|
|
}
|
|
|
|
.h-entry.calendar header {
|
|
display: flex;
|
|
border-bottom: 2px solid cornflowerblue;
|
|
}
|
|
|
|
.h-entry.calendar header h2{
|
|
padding: 0.2em 0.5em 0.2em 0.5em;
|
|
margin: 0;
|
|
border-right: none;
|
|
}
|
|
|
|
.h-entry.calendar header h2:hover{
|
|
box-shadow: inset 4px 4px 0px royalblue;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.h-entry.calendar header h2 a {
|
|
text-decoration: none;
|
|
color: royalblue;
|
|
}
|
|
|
|
.header-filler {
|
|
min-width: 10%;
|
|
}
|
|
|
|
.calendar-location{
|
|
font-size: 0.8rem;
|
|
min-width: 20%;
|
|
padding: 0.5em 0.9em 0.5em 0.9em;
|
|
border-left: 2px solid cornflowerblue;
|
|
}
|
|
|
|
.calendar-duration{
|
|
font-size: 0.8rem;
|
|
border-right: 2px solid cornflowerblue;
|
|
padding: 0.5em 0.9em 0.5em 0.9em;
|
|
}
|
|
|
|
.start-scroller {
|
|
display: flex;
|
|
flex-flow: row-reverse;
|
|
border-bottom: 2px solid cornflowerblue;
|
|
}
|
|
.start-scroller marquee{
|
|
font-size: 0.8rem;
|
|
padding-top: 0.2em;
|
|
padding-bottom: 0.2em;
|
|
}
|
|
|
|
.calendar .description {
|
|
border-top: 2px solid cornflowerblue;
|
|
}
|
|
|
|
.calendar-image-holder{
|
|
border-bottom: 2px solid cornflowerblue;
|
|
}
|
|
|
|
.calendar-image-holder a {
|
|
display: inherit;
|
|
}
|
|
|
|
.calendar-image{
|
|
max-width: 100%;
|
|
display: inherit;
|
|
}
|
|
|
|
/* Card metadata (video & calendar) */
|
|
|
|
.metadata {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.description p:first-of-type {
|
|
margin:0;
|
|
}
|
|
|
|
.description ul:first-of-type {
|
|
margin:0;
|
|
}
|
|
|
|
input + label +.calendar-location+.description{
|
|
display: none;
|
|
}
|
|
|
|
input:checked + label +.calendar-location+.description {
|
|
display: block;
|
|
transition: ease .5s;
|
|
}
|
|
|
|
.metadata label {
|
|
text-align: center;
|
|
vertical-align: sub;
|
|
flex-grow: 1;
|
|
font-weight: normal;
|
|
cursor: pointer;
|
|
padding: 0.4em 0.9em 0.4em 0.9em;
|
|
font-size: 0.9em;
|
|
}
|
|
|
|
label:hover {
|
|
box-shadow: inset 2px 2px 0px #95948c;
|
|
}
|
|
|
|
.description{
|
|
padding: 0.5em 0.7em 0.7em 0.5em;
|
|
overflow: hidden;
|
|
flex-basis: 100%;
|
|
}
|
|
|
|
.descr_button {
|
|
cursor: pointer;
|
|
flex-grow: 1;
|
|
text-align: center;
|
|
}
|
|
|
|
/* Paginator */
|
|
|
|
nav.pagination{
|
|
width: 60%;
|
|
margin: auto;
|
|
margin-top: 2em;
|
|
margin-bottom: 2em;
|
|
}
|
|
|
|
ul.pagination{
|
|
display: flex;
|
|
justify-content: space-evenly; /* align horizontal */
|
|
align-items: center; /* align vertical */
|
|
}
|
|
|
|
.page-item{
|
|
display: block;
|
|
text-align: center;
|
|
vertical-align: middle;
|
|
font-size: 38px;
|
|
border: 2px solid #1B4C8A;
|
|
box-shadow:0.4em 0.4em 0 #d2d1c8;
|
|
|
|
}
|
|
|
|
li.page-item{
|
|
background-color: lightblue;
|
|
padding: 0.4em;
|
|
}
|
|
|
|
li.page-item.active{
|
|
background-color: peachpuff;
|
|
border: 2px solid tomato;
|
|
padding: 0.4em;
|
|
}
|
|
|
|
li.page-item.disabled{
|
|
display: none;
|
|
}
|
|
|
|
li.page-item:nth-child(even){
|
|
transform: rotate(-1deg);
|
|
}
|
|
|
|
li.page-item:nth-child(odd){
|
|
transform: rotate(1deg);
|
|
}
|
|
|
|
li.page-item:nth-child(5){
|
|
transform: rotate(2deg);
|
|
}
|
|
|
|
li.page-item:nth-child(8){
|
|
transform: rotate(-3deg);
|
|
}
|
|
|
|
|
|
|
|
/* Page footer */
|
|
|
|
footer.bar {
|
|
margin-top: 0;
|
|
width: 80%;
|
|
margin-left: auto;
|
|
display: block;
|
|
margin-right: auto;
|
|
margin-bottom: 2em;
|
|
}
|