cbs-dsp-frontpage/assets-frontpage/css/style.css

232 lines
3.1 KiB
CSS

body,
h1,
h2,
h3,
h4,
h5,
h6 {
font-family: "Raleway", sans-serif;
}
body,
html {
height: 100%;
line-height: 1.8;
}
h1,
h2,
h3,
h4,
h5,
h6 {
margin: 3rem 0 1.38rem;
}
.copyright {
margin: 32px auto 0;
}
.copyright a {
text-decoration: none;
}
#cbsDspNavbar {
height: 64px;
float: left;
overflow: visible;
}
#cbsDspNavbar .w3-button {
padding: 16px;
}
.dsp-logo {
display: block;
background-image: url("../images/logo32.png");
background-size: cover;
width: 32px;
height: 32px;
}
.dsp-navbar-links {
max-width: calc(100% - 74px);
float: right;
}
.dsp-navbar-links-mbutton {
height: 64px;
}
.summary-subject {
text-align: left;
float: left;
}
.summary-current {
text-align: right;
}
.summary-display {
}
#cbsDspSidebar {
display: none;
width: 300px;
}
.dsp-section {
padding: 80px 24px 32px !important;
min-height: 100%;
}
.dsp-section > div {
margin-top: 32px;
}
.dsp-section a {
text-decoration: none;
}
.card-link {
text-decoration: none;
}
.dsp-tothetop {
margin: 0 30px 30px;
text-align: right;
}
#home {
background-position: center;
background-size: cover;
background-image: url("../images/background.jpg");
background-color: rgba(0, 0, 0, 0.7);
background-blend-mode: darken;
min-height: 100%;
}
#home a .w3-card {
text-decoration: none;
}
#home a .w3-card:hover {
background-color: #eee;
}
#about {
min-height: 50%;
}
#memberlist .w3-card {
padding: 16px 32px 32px;
}
#observation .w3-card {
padding: 16px 10px;
height: 300px;
}
#observation a {
text-decoration: none;
}
#observation a .w3-card:hover {
background-color: #eee;
}
#observation .w3-card i {
margin: 1rem 0 1rem;
}
#observation .w3-card h2 {
font-size: 20px !important;
margin: 1rem 0;
}
#observation .w3-card p {
font-size: 14px;
}
#archive.dsp-section > div {
margin-top: 0;
}
#footer .dsp-links a {
text-decoration: none;
font-weight: bold;
}
#footer .dsp-links p {
width: 100%;
padding: 5px 0;
}
#footer .dsp-links img {
width: 100%;
}
#footer .dsp-tothetop {
margin: 0 30px 30px;
text-align: right;
}
/* middle */
@media (min-width: 601px) {
#cbsDspNavbar {
height: 96px;
}
.dsp-logo {
background-image: url("../images/logo64.png");
width: 64px;
height: 64px;
}
.dsp-navbar-links {
width: calc(100% - 96px);
}
.dsp-navbar-links .w3-button {
padding: 12px;
}
.dsp-navbar-links .w3-dropdown-content {
z-index: 2;
top: 50px;
}
.dsp-navbar-links .dsp-navbar-item {
max-width: 20%;
font-size: 0.8rem;
}
.dsp-section {
padding: 96px 64px 64px !important;
}
.dsp-section > div {
margin-top: 64px;
}
#observation .w3-card {
padding: 32px 16px;
height: 340px;
}
}
@media (min-width: 736px) {
.dsp-navbar-links {
padding: 5px 0;
}
.dsp-navbar-links .w3-button {
padding: 16px;
}
.dsp-navbar-links .dsp-navbar-item {
max-width: 20%;
font-size: 1rem;
}
.dsp-navbar-links .w3-dropdown-content {
top: 64px;
}
#observation .w3-card h2 {
font-size: 24px !important;
}
#observation .w3-card p {
font-size: 18px;
}
#footer .dsp-links p {
font-size: 18px;
}
}