forked from oyd/oyd-web
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.
470 lines
6.1 KiB
470 lines
6.1 KiB
/* Base */
|
|
*, ::before, ::after {
|
|
box-sizing: border-box;
|
|
}
|
|
html,
|
|
body {
|
|
margin: 0;
|
|
padding: 0;
|
|
height: 100%;
|
|
}
|
|
body {
|
|
line-height: 1.6;
|
|
color: #111;
|
|
font-size: 18px;
|
|
font-weight: 400;
|
|
display: flex;
|
|
flex-direction: column;
|
|
font-family: 'Liberation Serif', serif;
|
|
}
|
|
|
|
/* Typography */
|
|
h1, h2, h3, h4, h5, h6 {
|
|
line-height: 1.1;
|
|
font-weight: normal;
|
|
font-family: 'Liberation Sans', sans-serif;
|
|
}
|
|
|
|
h1 {
|
|
font-size: 2.4rem;
|
|
}
|
|
h2 {
|
|
font-size: 2.2rem;
|
|
}
|
|
h3 {
|
|
font-size: 1.8rem;
|
|
}
|
|
h4 {
|
|
font-size: 1.6rem;
|
|
}
|
|
h5 {
|
|
font-size: 1.4rem;
|
|
}
|
|
h6 {
|
|
font-size: 1.2rem;
|
|
}
|
|
|
|
dt {
|
|
font-weight: 600;
|
|
line-height: 1.375;
|
|
margin: .5rem 0;
|
|
}
|
|
|
|
dt:first-child {
|
|
margin-top: 0;
|
|
}
|
|
|
|
dd {
|
|
margin: 0 0 1rem;
|
|
}
|
|
|
|
hr {
|
|
border-color: #f8f8f8;
|
|
}
|
|
|
|
a {
|
|
color: #38577f;
|
|
text-decoration: none;
|
|
}
|
|
|
|
a:hover {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
/* Grid */
|
|
.container {
|
|
max-width: 1200px;
|
|
padding: 0 2rem;
|
|
margin: auto;
|
|
}
|
|
|
|
.row {
|
|
display: flex;
|
|
flex-flow: row wrap;
|
|
justify-content: space-between;
|
|
width: 100%;
|
|
margin-bottom: 16px;
|
|
}
|
|
.row:last-child {
|
|
margin-bottom: 0;
|
|
}
|
|
.row .column {
|
|
flex-grow: 1;
|
|
flex-basis: 0;
|
|
}
|
|
.row .column-1 {
|
|
width: 8.333333333333332%;
|
|
}
|
|
.row .column-2 {
|
|
width: 16.666666666666664%;
|
|
}
|
|
.row .column-3 {
|
|
width: 25%;
|
|
}
|
|
.row .column-4 {
|
|
width: 33.33333333333333%;
|
|
}
|
|
.row .column-5 {
|
|
width: 41.66666666666667%;
|
|
}
|
|
.row .column-6 {
|
|
width: 50%;
|
|
}
|
|
.row .column-7 {
|
|
width: 58.333333333333336%;
|
|
}
|
|
.row .column-8 {
|
|
width: 66.66666666666666%;
|
|
}
|
|
.row .column-9 {
|
|
width: 75%;
|
|
}
|
|
.row .column-10 {
|
|
width: 83.33333333333334%;
|
|
}
|
|
.row .column-11 {
|
|
width: 91.66666666666666%;
|
|
}
|
|
.row .column-12 {
|
|
width: 100%;
|
|
}
|
|
|
|
.button {
|
|
display: inline-block;
|
|
padding: .5rem 1rem;
|
|
background-color: #efefef;
|
|
color: #444444;
|
|
border-radius: 4px;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.button:hover {
|
|
text-decoration: none;
|
|
}
|
|
|
|
.button.success {
|
|
color: #fff;
|
|
background-color: #6DAB3A;
|
|
}
|
|
.button.danger {
|
|
color: #fff;
|
|
background-color: #AB403A;
|
|
}
|
|
.button.info {
|
|
color: #fff;
|
|
background-color: #12656A;
|
|
}
|
|
|
|
.button.success:hover {
|
|
background-color: #218838;
|
|
}
|
|
.button.danger:hover {
|
|
background-color: #c82333;
|
|
}
|
|
.button.info:hover {
|
|
background-color: #138496;
|
|
}
|
|
|
|
article hr:last-child {
|
|
display: none;
|
|
}
|
|
|
|
.list-title {
|
|
font-size: 1.2rem;
|
|
}
|
|
|
|
.title {
|
|
margin-top: 0;
|
|
}
|
|
|
|
.navbar {
|
|
background-color: #4C2447;
|
|
color: #fff;
|
|
position: fixed;
|
|
left: 0;
|
|
top: 0;
|
|
right: 0;
|
|
}
|
|
|
|
.navbar-container {
|
|
max-width: 1200px;
|
|
margin: 0 auto;
|
|
padding: 0 2rem;
|
|
height: 80px;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
}
|
|
|
|
.navbar h1 {
|
|
font-size: 1.4rem;
|
|
margin: 0;
|
|
}
|
|
|
|
.navbar .logo {
|
|
color: #fff;
|
|
text-decoration: none;
|
|
margin-top: 7px;
|
|
}
|
|
|
|
.navbar .logo:hover {
|
|
color: #fdeba4;
|
|
}
|
|
|
|
.navbar nav > a {
|
|
border-radius: 3px;
|
|
display: inline-block;
|
|
padding: 0 15px;
|
|
text-decoration: none;
|
|
color: #fff;
|
|
font-family: 'Liberation Sans', sans-serif;
|
|
}
|
|
|
|
.navbar nav > a:hover {
|
|
background-color: #484557;
|
|
}
|
|
|
|
.navbar nav > a.active {
|
|
background-color: #ffffff;
|
|
color: #1a162d;
|
|
}
|
|
|
|
.page {
|
|
max-width: 1200px;
|
|
margin: auto;
|
|
margin-top: 80px;
|
|
padding: 2rem 2rem;
|
|
display: flex;
|
|
flex-flow: row wrap;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.article-list > article {
|
|
display: flex;
|
|
margin-bottom: 2rem;
|
|
}
|
|
|
|
.article-list > article h1 {
|
|
font-size: 1.8rem;
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.article-list > article footer time {
|
|
color: #444;
|
|
font-size: .9rem;
|
|
}
|
|
|
|
.author {
|
|
margin-top: 0;
|
|
color: #333333;
|
|
}
|
|
|
|
.article-img {
|
|
margin-right: 1rem;
|
|
width: 150px;
|
|
}
|
|
|
|
.article-body {
|
|
flex: 1;
|
|
}
|
|
|
|
.page > article {
|
|
flex-grow: 1;
|
|
flex-basis: 0;
|
|
width: 75%;
|
|
padding-right: 2rem;
|
|
}
|
|
|
|
.page > article img {
|
|
max-width:100%;
|
|
}
|
|
|
|
.article-list {
|
|
width: 75%;
|
|
padding-right: 2rem;
|
|
}
|
|
|
|
.sidebar {
|
|
width: 25%;
|
|
}
|
|
|
|
.sidebar > .title,
|
|
.sidebar > h2 {
|
|
color: #333333;
|
|
}
|
|
|
|
@media screen and (max-width: 768px) {
|
|
.page > article,
|
|
.page > .sidebar {
|
|
flex-grow: 0;
|
|
flex-basis: 100%;
|
|
}
|
|
}
|
|
|
|
.meta {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.sidebar nav a {
|
|
display: block;
|
|
}
|
|
|
|
.categories > div {
|
|
padding-left: 30px;
|
|
line-height: 35px;
|
|
padding-left: 33px;
|
|
background-repeat: no-repeat;
|
|
background-position: left center;
|
|
}
|
|
|
|
.event {
|
|
border-top: 10px solid #684563;
|
|
padding: 10px 20px 20px 20px;
|
|
background-color: #f8f8f8f8;
|
|
box-shadow: 0 1px 5px 0px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
.event p {
|
|
font-size: 14px;
|
|
}
|
|
|
|
body > footer {
|
|
background-color: #767381;
|
|
padding: 30px 0;
|
|
color: #fff;
|
|
font-size: 1rem;
|
|
}
|
|
|
|
.project {
|
|
display: flex;
|
|
margin: 1rem 0;
|
|
}
|
|
|
|
.member .member-image,
|
|
.project .project-image {
|
|
margin-right: 1rem;
|
|
}
|
|
|
|
.project a {
|
|
font-family: 'Liberation Sans', sans-serif;
|
|
font-size: 1.4rem;
|
|
line-height: 1;
|
|
}
|
|
|
|
.member {
|
|
display: flex;
|
|
margin: 1.5rem 0;
|
|
}
|
|
|
|
.member img,
|
|
.project img {
|
|
width: 120px;
|
|
}
|
|
|
|
.member-name {
|
|
line-height: 1;
|
|
display: block;
|
|
}
|
|
|
|
.member-role {
|
|
font-size: .9rem;
|
|
line-height: 1.2rem;
|
|
color: #444;
|
|
}
|
|
|
|
.member-description {
|
|
margin: 0;
|
|
line-height: 1.4rem;
|
|
}
|
|
|
|
.member-email,
|
|
.member-fingerprint {
|
|
font-size: .9rem;
|
|
line-height: 1.2rem;
|
|
color: #444;
|
|
}
|
|
|
|
.band {
|
|
padding: 4rem 0;
|
|
font-size: 1.2rem;
|
|
}
|
|
|
|
.band p {
|
|
line-height: 2.4rem;
|
|
}
|
|
|
|
.band:first-child {
|
|
margin-top: 80px;
|
|
}
|
|
|
|
.band .column:first-child {
|
|
margin-right: 3rem;
|
|
}
|
|
|
|
.band.secondary {
|
|
background-color: #e0d7de;
|
|
}
|
|
|
|
.band img {
|
|
max-width: 100%;
|
|
height: auto;
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.drawer-toggle {
|
|
display: none;
|
|
}
|
|
|
|
.drawer-toggle::before {
|
|
display: inline-block;
|
|
position: relative;
|
|
content: '☰';
|
|
width: 20px;
|
|
height: 20px;
|
|
padding: 0;
|
|
margin: 0;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.drawer {
|
|
width: 1px;
|
|
height: 1px;
|
|
position: absolute;
|
|
margin: -1px;
|
|
overflow: hidden;
|
|
display: none;
|
|
}
|
|
|
|
@media screen and (max-width: 768px) {
|
|
.article-list,
|
|
.sidebar,
|
|
.row .column,
|
|
.row [class^='column-'],
|
|
.row [class*=" column-"] {
|
|
flex-grow: 0;
|
|
flex-basis: 100%;
|
|
}
|
|
|
|
.article-list {
|
|
padding-right: 0;
|
|
}
|
|
|
|
.navbar {
|
|
position: static;
|
|
}
|
|
|
|
.page {
|
|
margin-top: 0px;
|
|
}
|
|
|
|
.navbar .navbar-container {
|
|
margin-top: 15px;
|
|
display: block;
|
|
height: auto;
|
|
}
|
|
|
|
.navbar .navbar-container nav {
|
|
margin: 10px -15px;
|
|
}
|
|
}
|
|
|