fonts hinzugefügt
This commit is contained in:
@@ -4,10 +4,12 @@
|
||||
{{ partial "head.html" . }}
|
||||
</head>
|
||||
<body>
|
||||
<div class = "container">
|
||||
<div class = "title">
|
||||
<header>
|
||||
{{ partial "header.html" . }}
|
||||
</header>
|
||||
</div>
|
||||
<div class = "container">
|
||||
<main>
|
||||
{{ block "main" . }}{{ end }}
|
||||
</main>
|
||||
|
||||
@@ -1,11 +1,38 @@
|
||||
@font-face {
|
||||
font-family: 'x-typewriter';
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
font-display: swap;
|
||||
unicode-range: U+0000-00FF;
|
||||
src: url('/fonts/x-typewriter.regular.woff2') format('woff2'),
|
||||
url('/fonts/x-typewriter.regular.woff') format('woff');
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'if';
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
font-display: swap;
|
||||
unicode-range: U+0000-00FF;
|
||||
src: url('/fonts/if.woff2') format('woff2'),
|
||||
url('/fonts/if.woff') format('woff');
|
||||
}
|
||||
|
||||
.container {
|
||||
margin: 0, auto;
|
||||
width: 80%;
|
||||
font-family: "x-typewriter";
|
||||
}
|
||||
|
||||
nav,footer {
|
||||
.title {
|
||||
margin: 0, auto;
|
||||
width: 80%;
|
||||
font-family: "if";
|
||||
}
|
||||
|
||||
nav, footer {
|
||||
background-color: #333;
|
||||
color: #fff;
|
||||
color: #fff;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
|
||||
BIN
northsidestudio/themes/basic/static/fonts/If.woff
Normal file
BIN
northsidestudio/themes/basic/static/fonts/If.woff
Normal file
Binary file not shown.
BIN
northsidestudio/themes/basic/static/fonts/If.woff2
Normal file
BIN
northsidestudio/themes/basic/static/fonts/If.woff2
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user