777 lines
15 KiB
CSS
777 lines
15 KiB
CSS
html,
|
|
body {
|
|
height: 100%;
|
|
color: #003b70;
|
|
}
|
|
|
|
h1 {
|
|
font-family: 'PT Serif', serif;
|
|
font-size: 22pt;
|
|
}
|
|
|
|
a:link,
|
|
a:visited,
|
|
a:hover,
|
|
a:active {
|
|
color: #003b70;
|
|
text-decoration: none;
|
|
}
|
|
|
|
a:hover {
|
|
color: #136CBC;
|
|
}
|
|
|
|
header a:hover {
|
|
text-decoration: none;
|
|
}
|
|
|
|
article,
|
|
section {
|
|
font-family: 'Raleway', sans-serif;
|
|
font-size: 12pt;
|
|
font-weight: 500;
|
|
}
|
|
|
|
/* app main grid container */
|
|
.app-container {
|
|
margin: auto;
|
|
min-height: 100%;
|
|
}
|
|
|
|
section.home {
|
|
padding-left: 20px;
|
|
border-left: 1px solid #003b70;
|
|
}
|
|
|
|
section.article {
|
|
padding-left: 20px;
|
|
padding-right: 20px;
|
|
border-left: 1px solid #003b70;
|
|
}
|
|
|
|
footer {
|
|
font-family: 'PT Serif', serif;
|
|
color: #fffffd;
|
|
background-color: #003b70;
|
|
}
|
|
|
|
footer.main-footer {
|
|
line-height: 70px;
|
|
}
|
|
|
|
footer .footer-lead {
|
|
display: inline-block;
|
|
width: 200px;
|
|
font-weight: 700;
|
|
}
|
|
|
|
footer .sigma-logo {
|
|
vertical-align: middle;
|
|
}
|
|
|
|
footer .ericsson-logo {
|
|
vertical-align: middle;
|
|
margin-left: 50px;
|
|
}
|
|
|
|
footer .footer-copyright {
|
|
float: right;
|
|
display: inline-block;
|
|
font-weight: 700;
|
|
font-size: 10pt;
|
|
}
|
|
|
|
/* IE 10-11 */
|
|
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
|
|
.app-container {
|
|
width: 1180px;
|
|
margin: auto;
|
|
overflow: hidden;
|
|
}
|
|
|
|
nav.main {
|
|
float: left;
|
|
width: 160px;
|
|
}
|
|
|
|
section.home,
|
|
section.article,
|
|
section.awardees,
|
|
section.profile {
|
|
width: 960px;
|
|
float: right;
|
|
}
|
|
|
|
section.awardees > section.judges {
|
|
clear: both;
|
|
overflow: hidden;
|
|
}
|
|
|
|
section.awardees section.judge {
|
|
width: 440px;
|
|
height: 120px;
|
|
float: left;
|
|
}
|
|
|
|
a.awardee {
|
|
width: 460px;
|
|
float: left;
|
|
margin-right: 20px;
|
|
}
|
|
|
|
.awardee img.profile {
|
|
float: left;
|
|
width: 180px;
|
|
height: 180px;
|
|
border-radius: 90px;
|
|
margin-right: 20px;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.awardee .description {
|
|
clear: both;
|
|
}
|
|
|
|
section.home > img.bimg {
|
|
float: left;
|
|
margin-right: 20px;
|
|
}
|
|
|
|
section.home > img.simg1,
|
|
section.home > img.simg2 {
|
|
float: left;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
section.home > article {
|
|
clear: left;
|
|
float: left;
|
|
width: 480px;
|
|
}
|
|
|
|
section.home section.download {
|
|
float: right;
|
|
width: 460px;
|
|
}
|
|
|
|
section.article img.embedded-image {
|
|
display: none;
|
|
}
|
|
|
|
section.article > article {
|
|
float: left;
|
|
width: 560px;
|
|
}
|
|
|
|
section.article > section.sidebar {
|
|
float: right;
|
|
width: 380px;
|
|
}
|
|
|
|
section.profile > section.awardee {
|
|
float: left;
|
|
width: 560px;
|
|
}
|
|
|
|
section.profile > aside.sidebar {
|
|
float: right;
|
|
width: 380px;
|
|
padding-top: 300px;
|
|
}
|
|
|
|
section.profile > section.sidebar > img {
|
|
|
|
}
|
|
|
|
footer.main-footer {
|
|
clear: both;
|
|
width: 100%;
|
|
padding-left: 20px;
|
|
}
|
|
}
|
|
|
|
@supports (display: grid) {
|
|
|
|
.app-container {
|
|
margin: auto;
|
|
display: grid;
|
|
grid-column-gap: 20px;
|
|
grid-row-gap: 0;
|
|
min-height: 100%;
|
|
}
|
|
|
|
section.home {
|
|
display: grid;
|
|
grid-area: content;
|
|
grid-column-gap: 20px;
|
|
grid-row-gap: 20px;
|
|
align-self: start;
|
|
}
|
|
|
|
section.article {
|
|
display: grid;
|
|
grid-area: content;
|
|
grid-column-gap: 20px;
|
|
grid-row-gap: 20px;
|
|
align-self: start;
|
|
}
|
|
|
|
section.error {
|
|
grid-area: content;
|
|
}
|
|
|
|
footer.main-footer {
|
|
grid-area: footer;
|
|
}
|
|
|
|
|
|
/* mobile */
|
|
@media only screen and (max-width: 779px) {
|
|
.app-container {
|
|
grid-template-columns: auto;
|
|
grid-template-rows: auto auto auto 70px;
|
|
grid-template-areas:
|
|
"header"
|
|
"nav"
|
|
"content"
|
|
"footer";
|
|
}
|
|
|
|
section.home {
|
|
max-width: calc(100% - 40px);
|
|
grid-template-columns: auto auto;
|
|
grid-template-rows: auto auto auto auto;
|
|
grid-template-areas:
|
|
"bigimg bigimg"
|
|
"article article"
|
|
"smallimg1 smallimg2"
|
|
"download download";
|
|
}
|
|
|
|
section.home > img {
|
|
width: 100%;
|
|
}
|
|
|
|
section.article {
|
|
grid-template-columns: auto;
|
|
grid-template-rows: auto auto;
|
|
grid-template-areas:
|
|
"article"
|
|
"sidebar";
|
|
}
|
|
|
|
section.article > .sidebar {
|
|
display: none;
|
|
}
|
|
|
|
img.embedded-image {
|
|
display: block;
|
|
max-width: 100%;
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
img.embedded-image.keep-small-right {
|
|
max-width: 30%;
|
|
float: right;
|
|
}
|
|
|
|
section.judge {
|
|
width: calc(100% - 40px);
|
|
margin-left: 20px;
|
|
margin-right: 20px;
|
|
margin-bottom: 20px;
|
|
float: left;
|
|
}
|
|
|
|
a.awardee {
|
|
float: left;
|
|
margin-right: 20px;
|
|
grid-template-columns: 80px auto;
|
|
}
|
|
|
|
section.awardee {
|
|
grid-template-columns: 80px auto;
|
|
}
|
|
|
|
a.awardee {
|
|
width: auto;
|
|
padding-left: 20px;
|
|
padding-right: 20px;
|
|
}
|
|
|
|
section.awardees > .awardee > img.profile,
|
|
section.profile> .awardee > img.profile {
|
|
width: 80px;
|
|
height: 80px;
|
|
border-radius: 40px;
|
|
align-self: center;
|
|
}
|
|
|
|
header,
|
|
footer,
|
|
nav {
|
|
padding-left: 20px;
|
|
padding-right: 20px;
|
|
}
|
|
|
|
header.main .title img {
|
|
width: 55px;
|
|
}
|
|
|
|
footer .footer-lead {
|
|
width: 140px;
|
|
}
|
|
|
|
footer .sigma-logo {
|
|
width: 78px;
|
|
}
|
|
|
|
footer .ericsson-logo {
|
|
width: 82px;
|
|
margin-left: 10px;
|
|
}
|
|
|
|
section.profile {
|
|
grid-template-columns: auto;
|
|
grid-template-rows: auto auto;
|
|
grid-template-areas:
|
|
"profile"
|
|
"sidebar";
|
|
}
|
|
|
|
section.awardee {
|
|
margin-left: 20px;
|
|
margin-right: 20px;
|
|
}
|
|
|
|
section.error {
|
|
margin-left: 20px;
|
|
margin-right: 20px;
|
|
}
|
|
}
|
|
|
|
/* tablet */
|
|
@media only screen and (min-width: 780px) and (max-width: 1219px) {
|
|
.app-container {
|
|
grid-template-columns: auto 180px 580px auto;
|
|
grid-template-rows: 170px auto 70px;
|
|
grid-template-areas:
|
|
". header header ."
|
|
". nav content ."
|
|
"footer footer footer footer";
|
|
}
|
|
|
|
section.home {
|
|
grid-template-columns: 280px 280px;
|
|
grid-template-rows: 370px 175px auto;
|
|
grid-template-areas:
|
|
"bigimg bigimg"
|
|
"smallimg1 smallimg2"
|
|
"article article"
|
|
"download download";
|
|
}
|
|
|
|
section.article {
|
|
grid-template-columns: 580px 380px;
|
|
grid-template-rows: auto;
|
|
grid-template-areas:
|
|
"article"
|
|
"sidebar";
|
|
}
|
|
|
|
section.article > .sidebar {
|
|
display: none;
|
|
}
|
|
|
|
.footer-content {
|
|
margin: auto;
|
|
width: 780px;
|
|
}
|
|
|
|
img.embedded-image {
|
|
max-width: 50%;
|
|
float: right;
|
|
margin-left: 20px;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
img.embedded-image.keep-small-right {
|
|
max-width: 30%;
|
|
}
|
|
|
|
section.judge {
|
|
width: 440px;
|
|
margin-right: 20px;
|
|
float: left;
|
|
}
|
|
|
|
a.awardee {
|
|
float: left;
|
|
width: 470px;
|
|
margin-right: 20px;
|
|
margin-left: 20px;
|
|
grid-template-columns: 180px 270px;
|
|
}
|
|
|
|
section.awardee {
|
|
grid-template-columns: 180px 360px;
|
|
}
|
|
|
|
section.awardees > .awardee > img.profile,
|
|
section.profile> .awardee > img.profile {
|
|
width: 180px;
|
|
height: 180px;
|
|
border-radius: 90px;
|
|
}
|
|
|
|
section.profile {
|
|
grid-template-columns: 560px;
|
|
grid-template-rows: auto auto;
|
|
grid-template-areas:
|
|
"profile"
|
|
"sidebar";
|
|
}
|
|
|
|
nav ul.menu_level_1 > li {
|
|
display: block;
|
|
}
|
|
}
|
|
|
|
/* monitor */
|
|
@media only screen and (min-width: 1220px) {
|
|
.app-container {
|
|
grid-template-columns: auto 180px 980px auto;
|
|
grid-template-rows: 170px auto 70px;
|
|
grid-template-areas:
|
|
". header header ."
|
|
". nav content ."
|
|
"footer footer footer footer";
|
|
}
|
|
|
|
section.home {
|
|
/*grid-template-columns: 580px 280px;*/
|
|
grid-template-columns: 430px 130px 280px;
|
|
grid-template-rows: 175px 175px auto;
|
|
grid-template-areas:
|
|
"bigimg bigimg smallimg1"
|
|
"bigimg bigimg smallimg2"
|
|
"article download download";
|
|
}
|
|
|
|
section.article {
|
|
grid-template-columns: 580px 360px;
|
|
grid-template-rows: auto;
|
|
grid-template-areas:
|
|
"article sidebar";
|
|
}
|
|
|
|
.footer-content {
|
|
margin: auto;
|
|
width: 1180px;
|
|
}
|
|
|
|
img.embedded-image {
|
|
display: none;
|
|
}
|
|
|
|
section.judge {
|
|
width: 440px;
|
|
margin-right: 20px;
|
|
float: left;
|
|
}
|
|
|
|
a.awardee {
|
|
float: left;
|
|
margin-right: 20px;
|
|
grid-template-columns: 180px 270px;
|
|
width: 470px;
|
|
}
|
|
|
|
section.awardee {
|
|
grid-template-columns: 180px 360px;
|
|
}
|
|
|
|
section.awardees > .awardee > img.profile,
|
|
section.profile> .awardee > img.profile {
|
|
width: 180px;
|
|
height: 180px;
|
|
border-radius: 90px;
|
|
}
|
|
|
|
section.profile {
|
|
grid-template-columns: 560px 380px;
|
|
grid-template-rows: auto;
|
|
grid-template-areas:
|
|
"profile sidebar"
|
|
}
|
|
|
|
section.profile > aside.sidebar > img {
|
|
margin-top: 340px;
|
|
}
|
|
|
|
nav ul.menu_level_1 > li {
|
|
display: block;
|
|
}
|
|
}
|
|
|
|
/* home page */
|
|
section.home > img.bimg {
|
|
grid-area: bigimg;
|
|
}
|
|
|
|
section.home > img.simg1 {
|
|
grid-area: smallimg1;
|
|
}
|
|
|
|
section.home > img.simg2 {
|
|
grid-area: smallimg2;
|
|
}
|
|
|
|
section.home > article {
|
|
grid-area: article;
|
|
}
|
|
|
|
section.home > section.download {
|
|
grid-area: download;
|
|
}
|
|
|
|
/* the prize (article) */
|
|
section.article > article {
|
|
grid-area: article;
|
|
}
|
|
|
|
section.article > .sidebar {
|
|
grid-area: sidebar;
|
|
}
|
|
|
|
/* judges */
|
|
section.judges {
|
|
grid-area: content;
|
|
}
|
|
|
|
/* awardees */
|
|
section.awardees {
|
|
grid-area: content;
|
|
}
|
|
|
|
section.awardees > .awardee > img.profile,
|
|
section.profile> .awardee > img.profile {
|
|
grid-area: image;
|
|
}
|
|
|
|
/* awardee (profile) */
|
|
section.profile {
|
|
display: grid;
|
|
grid-area: content;
|
|
grid-column-gap: 20px;
|
|
grid-row-gap: 20px;
|
|
}
|
|
|
|
a.awardee,
|
|
section.awardee {
|
|
display: grid;
|
|
grid-column-gap: 20px;
|
|
grid-template-rows: 60px 120px auto;
|
|
grid-template-areas:
|
|
"image year"
|
|
"image name"
|
|
"content content";
|
|
}
|
|
|
|
.awardee .year {
|
|
grid-area: year;
|
|
font-family: 'PT Serif', serif;
|
|
font-size: 32pt;
|
|
align-self: end;
|
|
}
|
|
|
|
.awardee .name {
|
|
grid-area: name;
|
|
font-family: 'PT Serif', serif;
|
|
font-size: 34pt;
|
|
line-height: 32pt;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.awardee > .description {
|
|
grid-area: content;
|
|
}
|
|
|
|
header.main {
|
|
grid-area: header;
|
|
}
|
|
|
|
nav.main {
|
|
grid-area: nav;
|
|
}
|
|
}
|
|
|
|
|
|
section.download > img.poster-logo{
|
|
float: left;
|
|
margin-top: 16px;
|
|
margin-right: 20px;
|
|
margin-bottom: 20px;
|
|
max-width: 34px;
|
|
height: auto;
|
|
}
|
|
|
|
section.download a.download {
|
|
display: block;
|
|
margin-bottom: 8px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
section.download a.download > img{
|
|
float: left;
|
|
width: 31px;
|
|
height: 30px;
|
|
margin-right: 5px;
|
|
}
|
|
|
|
section.article > .sidebar > img {
|
|
max-width: 100%;
|
|
}
|
|
|
|
section.judges > h1 {
|
|
clear: both;
|
|
padding-top: 40px;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
section.judge > img.profile {
|
|
float: left;
|
|
width: 80px;
|
|
height: 80px;
|
|
border-radius: 40px;
|
|
margin-right: 20px;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
section.judge > .title {
|
|
font-size: 18pt;
|
|
font-weight: bold;
|
|
}
|
|
|
|
section.judge > .description {
|
|
font-size: 12pt;
|
|
}
|
|
|
|
|
|
/* awardee (profile) */
|
|
section.profile {
|
|
border-left: 1px solid #003b70;
|
|
padding-left: 20px;
|
|
}
|
|
|
|
section.profile > aside.sidebar > img {
|
|
max-width: 100%;
|
|
display: block;
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
}
|
|
|
|
section.profile > aside.sidebar > .image-label {
|
|
margin: 20px;
|
|
font-size: 20pt;
|
|
font-style: italic;
|
|
font-weight: bold;
|
|
}
|
|
|
|
|
|
section.awardee ol,
|
|
section.awardee ul {
|
|
padding-left: 1.5em;
|
|
}
|
|
|
|
section.awardee ol > li,
|
|
section.awardee ul > li {
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.awardee .year {
|
|
font-family: 'PT Serif', serif;
|
|
font-size: 32pt;
|
|
}
|
|
|
|
.awardee .name {
|
|
font-family: 'PT Serif', serif;
|
|
font-size: 34pt;
|
|
line-height: 32pt;
|
|
font-weight: bold;
|
|
}
|
|
|
|
a.awardee > .description {
|
|
border-left: 1px solid #003b70;
|
|
padding-left: 10px;
|
|
font-family: 'Raleway', sans-serif;
|
|
font-style: italic;
|
|
}
|
|
|
|
/* common parts */
|
|
|
|
header .title {
|
|
margin-top: 30px;
|
|
font-size: 40pt;
|
|
font-weight: bold;
|
|
}
|
|
|
|
header .description {
|
|
max-width: 255px;
|
|
font-size: 12pt;
|
|
letter-spacing: 1.75pt;
|
|
}
|
|
|
|
header .description .granprize-logo {
|
|
float: right;
|
|
}
|
|
|
|
nav ul {
|
|
list-style: none;
|
|
padding-left: 0;
|
|
}
|
|
|
|
nav li {
|
|
font-family: 'PT Serif', serif;
|
|
}
|
|
|
|
nav li > ul {
|
|
display: none;
|
|
}
|
|
|
|
nav > ul > li {
|
|
padding-left: 5px;
|
|
font-weight: 700;
|
|
font-size: 16pt;
|
|
line-height: 24pt;
|
|
}
|
|
|
|
nav > ul > li.current {
|
|
border-left: 8px solid #003b70;
|
|
}
|
|
|
|
nav li.current > ul,
|
|
nav li.current_ancestor > ul {
|
|
display: block;
|
|
}
|
|
|
|
|
|
nav ul.menu_level_1 {
|
|
padding-left: 5px;
|
|
}
|
|
|
|
nav ul.menu_level_1 > li {
|
|
font-size: 12pt;
|
|
line-height: 16pt;
|
|
padding-left: 15px;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
nav ul.menu_level_1 > li.current,
|
|
nav ul.menu_level_1 > li.current_ancestor {
|
|
border-left: 8px solid #003b70;
|
|
padding-left: 10px;
|
|
}
|