Background design, fonts loaded locally, normalize CSS CDN
This commit is contained in:
+26
-7
@@ -1,25 +1,41 @@
|
||||
@import url("https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400..800;1,400..800&display=swap");
|
||||
|
||||
@font-face {
|
||||
font-family: "EB Garamond";
|
||||
src:
|
||||
url("static/assets/EBGaramond-0.016/ttf/EBGaramond12-Regular.ttf"),
|
||||
url("static/assets/EBGaramond-0.016/otf/EBGaramond12-Regular.otf")
|
||||
url("/static/assets/EBGaramond-0.016/ttf/EBGaramond12-Regular.ttf"),
|
||||
url("/static/assets/EBGaramond-0.016/otf/EBGaramond12-Regular.otf")
|
||||
format("truetype");
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: "Cheltenham Classic";
|
||||
src:
|
||||
url("/static/assets/cheltenham/CheltenhamClassic.ttf"),
|
||||
url("/static/assets/cheltenham/CheltenhamClassic.otf")
|
||||
format("truetype");
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
html {
|
||||
background-image: url("/static/assets/concrete/Concrete012_1024p_Color.jpg");
|
||||
font-family: "EB Garamond";
|
||||
font-optical-sizing: auto;
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-family: "cheltenhamclassic", serif;
|
||||
font-family: "Cheltenham Classic", serif;
|
||||
background-color: white;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
span {
|
||||
background-color: white;
|
||||
}
|
||||
|
||||
#main-frame {
|
||||
background-color: white;
|
||||
max-width: 600px;
|
||||
margin: auto;
|
||||
border: 1px solid black;
|
||||
@@ -37,10 +53,12 @@ hr {
|
||||
.meta {
|
||||
color: gray;
|
||||
margin: 2pt 4pt;
|
||||
font-size: 12pt;
|
||||
}
|
||||
|
||||
.content {
|
||||
margin: 10pt;
|
||||
font-size: 14pt;
|
||||
}
|
||||
|
||||
img {
|
||||
@@ -72,9 +90,10 @@ hr {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: space-between;
|
||||
background-color: white;
|
||||
margin: 0px;
|
||||
}
|
||||
|
||||
|
||||
// // @font-face {
|
||||
// // font-family: 'avenir';
|
||||
// // src: url('/static/avenir-font/AvenirLTStd-Medium.otf');
|
||||
@@ -176,7 +195,7 @@ form {
|
||||
textarea {
|
||||
// width: 100%;
|
||||
resize: vertical;
|
||||
font-size: 1.0rem;
|
||||
font-size: 1rem;
|
||||
}
|
||||
|
||||
&.create {
|
||||
|
||||
Reference in New Issue
Block a user