You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.

175 lines
2.3 KiB
SCSS

$primary: #d22d40;
$secondary: #8cc04b;
$logo-diameter: 20mm; // No less than 15mm as per usage regulations
body {
margin: 0 auto;
padding: 0;
font-family: Arial, Helvetica, sans-serif;
font-size: 1.2em;
max-width: 800px;
}
#header a, #menu a, #nav a {
text-decoration: none;
}
#header {
display: flex;
align-items: center;
padding: ($logo-diameter/2)/2; // No less than 0.5r with r being the radius of PedF logo
font-size: 1.5em;
img {
height: $logo-diameter;
}
div {
display: flex;
align-items: baseline;
flex-wrap: wrap;
margin: 0 ($logo-diameter/2)/2; // No less than 0.5r
a {
color: $primary;
margin-right: ($logo-diameter/2)/2;
text-transform: uppercase;
}
.subtitle {
font-size: .6em;
color: #444;
}
}
}
#menu ul, #nav ul {
margin: 0;
padding: 0;
list-style-type: none;
overflow: hidden;
}
#menu {
background-color: $primary;
ul li {
float: left;
&.active a { font-weight: bold; }
a {
display: block;
padding: .8em;
color: #fff;
&:hover {
background-color: darken($primary,6);
}
}
}
}
#nav {
display: flex;
border-bottom: 1px dotted #ccc;
padding: 1em 0;
width: 100%;
box-sizing: border-box;
ul {
flex-grow: 1;
min-width: 33.3%;
a {
display: block;
padding: .5em 1em;
color: $primary;
&.ancestor {
background-color: #eee;
}
&:hover {
background-color: #ccc;
}
&.active {
background-color: $primary;
color: #fff;
}
}
}
}
#main {
padding: 1.5em;
line-height: 1.5em;
text-align: justify;
a {
color: $primary;
text-decoration: none;
&:hover {
color: $secondary;
}
}
h2, h3, h4, h5, h6, .title {
margin: 2em 0 1em 0;
text-align: left;
}
table {
border: 1px solid #ccc;
border-collapse: collapse;
text-align: left;
thead {
border-bottom: 3px double #ccc;
}
td, th {
padding: .5em;
border: 1px solid #ccc;
font-weight: normal;
}
}
.title {
font-size: 1.3em;
font-weight: bold;
}
.metadata {
text-align: right;
font-size: .8em;
}
.file {
border: 1px solid #ccc;
padding: 1em;
margin: 1em;
.title {
margin-top: 0;
}
.format {
margin-right: 1em;
padding: .3em .5em;
background: $primary;
color: #fff;
text-decoration: none;
border-radius: .3em;
}
}
video {
width: 100%;
}
}