pakua-cambridge/style.css
2021-08-26 23:01:41 +01:00

250 lines
3.3 KiB
CSS

* {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
font-family: "Open Sans", sans-serif;
margin: 0;
padding: 0;
line-height: 1.5em;
}
a {
color: #c40000;
text-decoration: none;
}
a:hover {
text-decoration: underline;
color: #000;
}
ul {
margin-left: 0.6em;
padding-left: 0.6em;
margin-top: 1em;
margin-bottom: 1em;
}
p {
margin-top: 1em;
margin-bottom: 1em;
}
h1 {
text-align: center;
font-size: 1.8em;
margin: 1em 0 1em 0;
}
h2 {
font-size: 1.5em;
margin: 2em 0 1em 0;
}
h3 {
margin: 2em 0 1em 0;
}
body {
background-image: url("footer-bg.png");
background-repeat: no-repeat;
background-position: bottom;
background-size: contain;
padding: 2em;
}
body {
max-width: 60em;
margin: 0 auto;
}
#header {
display: flex;
align-items:center;
}
#header > div {
display: inline-block;
}
#logo {
width: 10em;
margin-right: 2em;
}
#logo img {
width: 100%;
height: auto;
}
#logo.center {
width: 10em;
margin-right: 2em;
}
#header ul {
display: inline-block;
list-style-type: none;
margin: 0;
}
#header li {
display: inline-block;
margin: 0.6em 0.8em 0 0;
}
#footer {
padding: 4em 0 2em 0;
}
#footer .h-card img {
float: left;
width: 9em;
height: auto;
margin-right: 1em;
}
#footer .h-card .p-name {
font-weight: bold;
margin-bottom: 0.3em;
display: block;
}
#footer .h-card .p-note {
display: block;
color: #333;
margin-bottom: 1em;
}
.grid {
display: flex;
align-items:baseline;
flex-grow: 1;
flex-wrap: wrap;
justify-content: space-evenly;
}
.grid > div {
border: 1px solid #ccc;
max-width: 18%;
display: block;
overflow: hidden;
text-align: center;
margin:0 1%;
margin-bottom: 0.6em;
}
.grid.large > div {
max-width: 48%;
}
.grid img {
width: 100%;
height: auto;
}
.grid h4 {
margin-top: 1em;
font-size: 1em;
min-height: 3em;
}
.grid .more {
font-size: 0.9em;
overflow: hidden;
margin:0.3em;
}
body > svg { display: none; }
table {
border-collapse: collapse;
width: 100%;
}
td, th {
padding: 0.3em;
border: 1px solid #777;
text-align:left;
}
th {
font-weight: bold;
}
th, tr:nth-child(even) {
background-color: rgba(0, 0, 0, .1);
}
td img {
width: 16em;
height: auto;
}
.signatures {
display: flex;
justify-content:space-evenly;
margin-top: 2em;
padding-top: 2em;
border-top: 1px dashed #000;
align-items:first baseline;
}
.signatures > div {
width: 40%;
display: block;
text-align: center;
}
.signatures > div p {
padding-top: 0.3em;
margin-top: 4em;
border-top: 2px dotted #666;
}
input {
width: 4em;
border:none;
border-bottom: 1px dotted #000;
height: 1em;
}
input.name {
width: 20em;
}
input.year {
width: 8em;
}
.inactive {
opacity: 0.2;
filter:grayscale(100%)
}
dt {
font-weight: bold;
}
dd {
margin: 0.6em 0 1em 1em;
}
.e-summary {
font-size: 1.2em;
color: #333;
width: 80%;
margin: 0 auto;
}
@media screen and (max-width: 54em) {
.grid > div {
max-width: 48%;
}
.e-summary {
width: 98%;
padding: 0 1% 0 1%;
}
}