[SITE] add new logo (and Boon font) to front page
This commit is contained in:
parent
179eb03074
commit
2a355d4f81
|
@ -1,5 +1,9 @@
|
|||
/* STYLE for jannikbeyerstedt.de
|
||||
* generic styles
|
||||
*
|
||||
* main font: Alegreya Sans
|
||||
* headings: Crimson Text
|
||||
* Logo: Boon
|
||||
*/
|
||||
body {
|
||||
margin: 0;
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -3,17 +3,26 @@
|
|||
*/
|
||||
main div.home {
|
||||
text-align: center;
|
||||
margin-top: 20%;
|
||||
margin-top: 17%;
|
||||
margin-bottom: 20%; }
|
||||
main div.home h1 {
|
||||
margin: 0;
|
||||
font-family: 'Alegreya Sans', "Verdana", "Arial", sans-serif;
|
||||
main div.home div.logo {
|
||||
font-family: 'Boon', "Verdana", "Arial", sans-serif;
|
||||
font-size: 24.5px;
|
||||
line-height: 1.2em;
|
||||
font-weight: 100;
|
||||
font-size: 60px;
|
||||
margin-top: 15px;
|
||||
margin-bottom: 15px; }
|
||||
width: 11em;
|
||||
margin: 0 auto; }
|
||||
main div.home div.logo span {
|
||||
color: #2da301;
|
||||
font-weight: 400; }
|
||||
main div.home div.logo span.firstname {
|
||||
padding-left: 0.1em;
|
||||
padding-right: 0.56em; }
|
||||
main div.home div.logo span.surname {
|
||||
letter-spacing: -0.036em; }
|
||||
main div.home p {
|
||||
margin: 0;
|
||||
font-size: 20px; }
|
||||
margin-top: 0.5em;
|
||||
font-size: 14px;
|
||||
letter-spacing: -0.02em; }
|
||||
|
||||
/*# sourceMappingURL=home.css.map */
|
|
@ -2,9 +2,10 @@
|
|||
"version": 3,
|
||||
"file": "home.css",
|
||||
"sources": [
|
||||
"../../scss/templates/home.scss"
|
||||
"../../scss/templates/home.scss",
|
||||
"../../scss/_mainvariables.scss"
|
||||
],
|
||||
"sourcesContent": [],
|
||||
"mappings": "AAAA;;GAEG;AAGE,IAAI,CAAC,GAAG,AAAA,KAAK,CAAP;EACP,UAAU,EAAE,MAAO;EACnB,UAAU,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Ac,EAAE,OAAQ,GAHvB",
|
||||
"names": []
|
||||
}
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -0,0 +1,55 @@
|
|||
@font-face {
|
||||
src: url("boon-300.woff") format("woff");
|
||||
font-family: "Boon";
|
||||
font-style: normal;
|
||||
font-weight: 300;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
src: url("boon-300i.woff") format("woff");
|
||||
font-family: "Boon";
|
||||
font-style: italic;
|
||||
font-weight: 300;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
src: url("boon-400.woff") format("woff");
|
||||
font-family: "Boon";
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
src: url("boon-400i.woff") format("woff");
|
||||
font-family: "Boon";
|
||||
font-style: italic;
|
||||
font-weight: 400;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
src: url("boon-500.woff") format("woff");
|
||||
font-family: "Boon";
|
||||
font-style: normal;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
src: url("boon-500i.woff") format("woff");
|
||||
font-family: "Boon";
|
||||
font-style: italic;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
src: url("boon-700.woff") format("woff");
|
||||
font-family: "Boon";
|
||||
font-style: normal;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
src: url("boon-700i.woff") format("woff");
|
||||
font-family: "Boon";
|
||||
font-style: italic;
|
||||
font-weight: 700;
|
||||
}
|
|
@ -1,5 +1,9 @@
|
|||
/* STYLE for jannikbeyerstedt.de
|
||||
* generic styles
|
||||
*
|
||||
* main font: Alegreya Sans
|
||||
* headings: Crimson Text
|
||||
* Logo: Boon
|
||||
*/
|
||||
@import "custom";
|
||||
@import "variables";
|
||||
|
|
|
@ -2,22 +2,42 @@
|
|||
* for specific template
|
||||
*/
|
||||
|
||||
@import "../mainvariables";
|
||||
|
||||
main {
|
||||
div.home {
|
||||
text-align: center;
|
||||
margin-top: 20%;
|
||||
margin-top: 17%;
|
||||
margin-bottom: 20%;
|
||||
h1 {
|
||||
margin: 0;
|
||||
font-family: 'Alegreya Sans', "Verdana", "Arial", sans-serif;
|
||||
|
||||
div.logo {
|
||||
font-family: 'Boon', "Verdana", "Arial", sans-serif;
|
||||
font-size: 24.5px;
|
||||
line-height: 1.2em;
|
||||
font-weight: 100;
|
||||
font-size: 60px;
|
||||
margin-top: 15px;
|
||||
margin-bottom: 15px;
|
||||
|
||||
width: 11em; // more than needed, because of fallback fonts
|
||||
margin: 0 auto;
|
||||
|
||||
span {
|
||||
color: $color_accent;
|
||||
font-weight: 400;
|
||||
&.firstname {
|
||||
padding-left: 0.1em;
|
||||
padding-right: 0.56em;
|
||||
}
|
||||
&.surname {
|
||||
letter-spacing: -0.036em;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
p {
|
||||
margin: 0;
|
||||
font-size: 20px;
|
||||
margin-top: 0.5em;
|
||||
font-size: 14px;
|
||||
letter-spacing: -0.02em;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -36,6 +36,8 @@ if( $page->isHomePage() ) {
|
|||
<!-- Google web fonts -->
|
||||
<link href='https://fonts.googleapis.com/css?family=Alegreya+Sans:400,100,300,400italic,500,500italic,700' rel='stylesheet' type='text/css'>
|
||||
<link href='https://fonts.googleapis.com/css?family=Crimson+Text:400,700' rel='stylesheet' type='text/css'>
|
||||
|
||||
<?php echo css('assets/fonts/boon.css') ?>
|
||||
|
||||
</head>
|
||||
<body>
|
||||
|
|
|
@ -14,7 +14,17 @@ snippet('base/cont-header');
|
|||
<div class="container">
|
||||
|
||||
<div class="home">
|
||||
<h1><?php echo $page->hero_text()->kirbytextRaw() ?></h1>
|
||||
<div class="logo">
|
||||
<span class="firstname">jannik</span>0b 01101010<br>
|
||||
01100001 01101110<br>
|
||||
01101110 01101001<br>
|
||||
01101011 <span class="surname">beyerstedt</span><br>
|
||||
01100010 01100101<br>
|
||||
01111001 01100101<br>
|
||||
01110010 01110011<br>
|
||||
01110100 01100101<br>
|
||||
01100100 01110100
|
||||
</div>
|
||||
<p><?php echo $page->subtitle()->kirbytextRaw() ?></p>
|
||||
</div>
|
||||
|
||||
|
|
Loading…
Reference in New Issue