2019-01-21 18:51:52 +00:00
|
|
|
body {
|
|
|
|
display: grid;
|
|
|
|
grid-template-areas:
|
|
|
|
'ribbon ribbon'
|
|
|
|
'sidebar content';
|
2019-01-29 09:55:09 +00:00
|
|
|
background-color: #3498db;
|
2019-01-21 18:51:52 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
2019-01-29 09:55:09 +00:00
|
|
|
a:hover {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
|
2019-01-21 18:51:52 +00:00
|
|
|
.sidebar, .content {
|
2019-01-29 09:55:09 +00:00
|
|
|
/* margin: 10px; */
|
2019-01-21 18:51:52 +00:00
|
|
|
padding: 10px;
|
|
|
|
background-color: #bdc3c7;
|
|
|
|
color: black;
|
|
|
|
}
|
|
|
|
|
|
|
|
.center {
|
|
|
|
display: block;
|
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
|
|
|
}
|
|
|
|
|
2019-01-29 09:55:09 +00:00
|
|
|
.list-lvl1, .list-lvl1 a {
|
|
|
|
background-color: #34495e;
|
|
|
|
color: #ecf0f1;
|
|
|
|
}
|
|
|
|
|
2019-01-21 18:51:52 +00:00
|
|
|
/* ribbon ********************************************************************/
|
|
|
|
|
|
|
|
.ribbon {
|
2019-01-29 09:55:09 +00:00
|
|
|
grid-area: ribbon;
|
2019-01-21 18:51:52 +00:00
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
2019-01-29 09:55:09 +00:00
|
|
|
/* background: #2c3e50; */
|
|
|
|
background-color: #2c3e50;
|
2019-01-21 18:51:52 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.ribbon, .ribbon a {
|
|
|
|
color: #ecf0f1;
|
|
|
|
}
|
|
|
|
|
|
|
|
h1, h2 {
|
|
|
|
margin: 0;
|
|
|
|
padding: 0 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ribbon-links {
|
|
|
|
display: table;
|
|
|
|
list-style-type: none;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
background-color: #7f8c8d;
|
|
|
|
width: 100%;
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
.ribbon-links li {
|
|
|
|
display: table-cell;
|
|
|
|
float: left;
|
|
|
|
padding: 5px 20px;
|
|
|
|
background-color: #7f8c8d;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ribbon li:hover {
|
|
|
|
background-color: #34495e
|
|
|
|
}
|
|
|
|
|
|
|
|
/* sidebar *******************************************************************/
|
|
|
|
|
|
|
|
.sidebar {
|
|
|
|
grid-area: sidebar;
|
2019-01-29 09:55:09 +00:00
|
|
|
margin: 10px 5px 10px 0;
|
2019-01-21 18:51:52 +00:00
|
|
|
width: 300px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.side-picture {
|
|
|
|
margin: 10px auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.side-card {
|
|
|
|
margin: 10px;
|
|
|
|
background-color: #ecf0f1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.side-card h4, .side-content {
|
|
|
|
padding: 10px 1em;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
p.side-content {
|
|
|
|
padding: 0.5em 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* content *******************************************************************/
|
|
|
|
|
|
|
|
.content {
|
|
|
|
grid-area: content;
|
2019-01-29 09:55:09 +00:00
|
|
|
margin: 10px 0 10px 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.content div {
|
|
|
|
background-color: #ecf0f1;
|
|
|
|
padding: 10px;
|
|
|
|
margin: 10px;
|
2019-01-21 18:51:52 +00:00
|
|
|
}
|