Skip to content

Commit

Permalink
🚧 WIP Add basic styling
Browse files Browse the repository at this point in the history
  • Loading branch information
fre-ben committed Feb 14, 2021
1 parent d55738b commit 6e7bb52
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/components/cat/cat.css
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
.catImg {
max-width: 22em;
margin: 2em 0;
overflow-x: auto;
}
16 changes: 16 additions & 0 deletions src/components/headline/headline.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
.headline__container {
display: grid;
text-align: center;
margin: 0 2em;
}

.headline {
font-size: 1.2em;
margin: 0 0 0.5em 0;
}

.headline__link {
font-size: 0.8em;
text-decoration: none;
margin-bottom: 1em;
}
1 change: 1 addition & 0 deletions src/components/headline/headline.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ export function displayGermanHeadline({ headline, link }) {
innerText: headline,
}),
createElement("a", {
className: "headline__link",
href: link,
innerText: "Artikel lesen",
target: "_blank",
Expand Down
4 changes: 4 additions & 0 deletions src/pages/catlinez/catlinez.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
.catlinez__container {
display: grid;
justify-items: center;
}

0 comments on commit 6e7bb52

Please sign in to comment.