changed font for initials

This commit is contained in:
nek0 2016-03-11 17:19:35 +01:00
parent 00dabaa7be
commit 6265197cf3
3 changed files with 24 additions and 10 deletions

View file

@ -243,31 +243,38 @@ h2 {
} }
.scripture { .scripture {
/*change font*/ /* change font */
font-family: 'Inknut Antiqua'; font-family: 'Inknut Antiqua';
color: black; color: black;
font-size: 14px; font-size: 14px;
font-weight: normal; font-weight: normal;
font-style: normal; font-style: normal;
-webkit-font-smoothing: antialiased; -webkit-font-smoothing: antialiased;
/*box shadow*/ /* box shadow */
box-shadow: 5px 5px 10px #a1a1a1; box-shadow: 5px 5px 10px #a1a1a1;
/*bg-colour*/ /* bg-colour */
background-color: #faf5eb; background-color: #faf5eb;
/*adjust line height*/ /* adjust line height */
line-height: 190%; line-height: 190%;
/*margin*/ /* margin */
margin: 20px; margin: 20px;
/*padding*/ /* padding */
padding: 30px; padding: 30px;
/*limit width*/ padding-left: 80px;
/* limit width */
max-width: 700px; max-width: 700px;
} }
.with-initial > p:first-child {
/* move first letter into padding */
text-indent: -50px;
}
.with-initial > p:first-child::first-letter { .with-initial > p:first-child::first-letter {
font-family: 'Apex Lake'; /*font-family: 'Apex Lake';*/
font-family: 'Maximilian Antiqua Initialen';
color: black; color: black;
font-size: 50px; font-size: 70px;
font-weight: normal; font-weight: normal;
font-style: normal; font-style: normal;
-webkit-font-smoothing: antialiased; -webkit-font-smoothing: antialiased;

View file

@ -13,8 +13,15 @@
} }
@font-face { @font-face {
font-family: 'Apex lake'; font-family: 'Apex Lake';
src: url('/font/Apex Lake Regular.ttf') format('truetype'); src: url('/font/Apex Lake Regular.ttf') format('truetype');
font-weight: normal; font-weight: normal;
font-style: normal; font-style: normal;
} }
@font-face {
font-family: 'Maximilian Antiqua Initialen';
src: url('/font/Maximilian Antiqua Initialen.ttf') format('truetype');
font-weight: normal;
font-style: normal;
}

Binary file not shown.