2024-03-19 11:43:29 +01:00
|
|
|
@charset "UTF-8";
|
|
|
|
|
2024-03-19 13:26:39 +01:00
|
|
|
/* Webbfonter */
|
|
|
|
@font-face {
|
|
|
|
font-family: 'Journal';
|
|
|
|
src: url('journal-webfont.woff') format('woff');
|
|
|
|
font-weight: normal;
|
|
|
|
font-style: normal;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Ändra basegenskaperna av sidan. */
|
2024-03-19 11:54:15 +01:00
|
|
|
body {
|
2024-03-19 13:26:39 +01:00
|
|
|
font-family: 'Source Sans Pro', Sans-Serif;
|
2024-03-19 11:54:15 +01:00
|
|
|
background-color: #dadada;
|
2024-03-19 13:26:39 +01:00
|
|
|
color: #101010;
|
|
|
|
}
|
|
|
|
h1 {
|
|
|
|
font-family: 'Montserrat', Sans-Serif;
|
|
|
|
color: #ffffff;
|
|
|
|
text-shadow: 2px 2px 4px #000000;
|
|
|
|
}
|
|
|
|
h2 {
|
|
|
|
font-family: 'Montserrat', Sans-Serif;
|
|
|
|
color: #ffffff;
|
|
|
|
text-shadow: 2px 2px 4px #000000;
|
|
|
|
}
|
|
|
|
p {
|
|
|
|
|
|
|
|
}
|
|
|
|
|
2024-03-19 14:46:05 +01:00
|
|
|
|
|
|
|
li:not(:last-child) {
|
|
|
|
margin-bottom: 3px;
|
|
|
|
}
|
|
|
|
|
2024-03-19 13:26:39 +01:00
|
|
|
/* Min stil på länkar. */
|
|
|
|
a {
|
|
|
|
color: #000044;
|
|
|
|
text-decoration: none;
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
a:hover {
|
|
|
|
color: #0000cc;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Min stil för bilden. */
|
|
|
|
.portrait-image {
|
2024-03-19 14:46:05 +01:00
|
|
|
box-shadow: none;
|
|
|
|
border-radius: 3px;
|
|
|
|
transform: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Min stil för att rama in texten. */
|
|
|
|
.presentation-box {
|
|
|
|
background-color: #dadada;
|
|
|
|
border-radius: 3px;
|
|
|
|
box-shadow: none;
|
2024-03-19 13:26:39 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Min stil för presentationstexten. */
|
|
|
|
.presentation-text {
|
2024-03-19 14:46:05 +01:00
|
|
|
font-family: "Source Sans Pro", sans-serif;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Footer stilen */
|
|
|
|
.footer-text {
|
|
|
|
font-style: italic;
|
|
|
|
text-align: right;
|
2024-03-19 11:54:15 +01:00
|
|
|
}
|
|
|
|
|
2024-03-19 11:43:29 +01:00
|
|
|
/* Definition av mitt rutnät för sidans layout. */
|
|
|
|
/* Behållaren för cellerna, tabellen. */
|
|
|
|
.grid-container {
|
2024-03-19 11:54:15 +01:00
|
|
|
display: grid;
|
2024-03-19 13:26:39 +01:00
|
|
|
column-gap: 25px;
|
2024-03-19 11:54:15 +01:00
|
|
|
row-gap: 0px;
|
2024-03-19 13:26:39 +01:00
|
|
|
|
|
|
|
max-width: 900px; /* max-width of the layout */
|
|
|
|
margin: 0 auto; /* center in the viewport */
|
2024-03-19 14:46:05 +01:00
|
|
|
|
|
|
|
background-color: #dadada;
|
2024-03-19 11:43:29 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Gemensant för cellerna i tabellen. */
|
|
|
|
.grid-item {
|
2024-03-19 11:54:15 +01:00
|
|
|
display: grid;
|
2024-03-19 13:26:39 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Layout, tilldelning av områdesnamn. */
|
|
|
|
.header {
|
|
|
|
grid-area: header;
|
|
|
|
}
|
|
|
|
.content {
|
|
|
|
grid-area: content;
|
|
|
|
}
|
2024-03-19 14:46:05 +01:00
|
|
|
.content2 {
|
|
|
|
grid-area: content2;
|
|
|
|
}
|
2024-03-19 13:26:39 +01:00
|
|
|
.image {
|
|
|
|
grid-area: image;
|
|
|
|
}
|
|
|
|
.footer {
|
|
|
|
grid-area: footer;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Standard layout, för små fönster/skärmar. */
|
|
|
|
.grid-container {
|
|
|
|
grid-template-areas:
|
|
|
|
"header"
|
|
|
|
"image"
|
|
|
|
"content"
|
2024-03-19 14:46:05 +01:00
|
|
|
"content2"
|
|
|
|
"footer";
|
|
|
|
padding: 0px;
|
|
|
|
box-shadow: none;
|
2024-03-19 13:26:39 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Layout som väljs automatisk när det finns plats. */
|
2024-03-19 14:46:05 +01:00
|
|
|
@media only screen and (min-width: 850px) {
|
|
|
|
body {
|
|
|
|
/* Gratis bild från pexels, https://www.pexels.com/photo/brown-wooden-panel-347139/ */
|
|
|
|
background-image: url("bg.jpg");
|
|
|
|
background-attachment: fixed;
|
|
|
|
background-position-y: bottom;
|
|
|
|
background-repeat: repeat-x;
|
|
|
|
}
|
|
|
|
|
2024-03-19 13:26:39 +01:00
|
|
|
.grid-container {
|
|
|
|
grid-template-areas:
|
|
|
|
"header header header"
|
|
|
|
"content content image"
|
2024-03-19 14:46:05 +01:00
|
|
|
"content2 content2 content2"
|
|
|
|
"footer footer footer";
|
|
|
|
box-shadow: 10px 10px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
|
|
|
|
padding: 15px;
|
|
|
|
background-image: url("bg-paper-yellowed.jpg");
|
|
|
|
background-repeat: none;
|
|
|
|
background-size: cover;
|
|
|
|
}
|
2024-03-19 13:26:39 +01:00
|
|
|
|
2024-03-19 14:46:05 +01:00
|
|
|
.image {
|
2024-03-19 13:26:39 +01:00
|
|
|
position: relative;
|
|
|
|
top: 40px;
|
2024-03-19 14:46:05 +01:00
|
|
|
left: -40px;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Min coolare stil för bilden. */
|
|
|
|
.portrait-image {
|
|
|
|
box-shadow: 10px 10px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
|
|
|
|
border-radius: 3px;
|
|
|
|
transform: rotate(-5deg);
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Min coolare stil för att rama in texten. */
|
|
|
|
.presentation-box {
|
|
|
|
background-color: #f3ee9e;
|
|
|
|
border-radius: 3px;
|
|
|
|
box-shadow: 10px 10px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Min coolare stil för presentationstexten. */
|
|
|
|
.presentation-text {
|
|
|
|
font-family: "Journal", sans-serif;
|
|
|
|
font-size: 32px;
|
|
|
|
color: #212151;
|
|
|
|
margin: 15px;
|
|
|
|
}
|
2024-03-19 13:26:39 +01:00
|
|
|
}
|
|
|
|
|