Skip to content

Commit

Permalink
change ad placement
Browse files Browse the repository at this point in the history
bring fonts, css and js onto server
  • Loading branch information
drkane committed Jun 20, 2023
1 parent 836686d commit 798e201
Show file tree
Hide file tree
Showing 47 changed files with 1,058 additions and 22 deletions.
42 changes: 42 additions & 0 deletions findthatpostcode/static/css/custom.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
body {
display: grid;
grid-template-columns: 1fr max-content;
}

body>header {
grid-column: 1 / 3;
grid-row: 1;
}

body>main {
grid-column: 1 / 3;
grid-row: 2;
}

body>aside {
grid-column: 1 / 3;
grid-row: 3;
}

body>footer {
grid-column: 1 / 3;
grid-row: 4;
}

@media screen and (min-width: 60em) {
body>main {
grid-column: 1 / 2;
grid-row: 2 / 3;
}

body>aside {
grid-column: 2 / 3;
grid-row: 2 / 3;
}
}

.ea-sticky-ad {
position: sticky;
top: 0;
z-index: 100;
}
57 changes: 57 additions & 0 deletions findthatpostcode/static/css/fonts.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
/* latin */
@font-face {
font-family: 'Archivo';
font-style: normal;
font-weight: 400;
font-stretch: 100%;
src: url("/static/fonts/Archivo-Regular.ttf") format("truetype");
}

/* latin */
@font-face {
font-family: 'Archivo';
font-style: normal;
font-weight: 700;
font-stretch: 100%;
src: url("/static/fonts/Archivo-Bold.ttf") format("truetype");
}

/* latin */
@font-face {
font-family: 'Raleway';
font-style: normal;
font-weight: 400;
src: url("/static/fonts/Raleway-Regular.ttf") format("truetype");
}

/* latin */
@font-face {
font-family: 'Raleway';
font-style: normal;
font-weight: 700;
src: url("/static/fonts/Raleway-Bold.ttf") format("truetype");
}

/* fallback */
@font-face {
font-family: 'Material Icons';
font-style: normal;
font-weight: 400;
src: url("/static/fonts/MaterialIcons.woff2") format('woff2');
}

.material-icons {
font-family: 'Material Icons';
font-weight: normal;
font-style: normal;
font-size: 24px;
line-height: 1;
letter-spacing: normal;
text-transform: none;
display: inline-block;
white-space: nowrap;
word-wrap: normal;
direction: ltr;
-moz-font-feature-settings: 'liga';
-moz-osx-font-smoothing: grayscale;
}
Loading

0 comments on commit 798e201

Please sign in to comment.