Skip to content

Commit

Permalink
Create dark theme style
Browse files Browse the repository at this point in the history
  • Loading branch information
coliveiraeti committed Dec 18, 2023
1 parent 9656f2e commit 14054a3
Showing 1 changed file with 16 additions and 7 deletions.
23 changes: 16 additions & 7 deletions style.css
Original file line number Diff line number Diff line change
@@ -1,44 +1,53 @@
html
body
{
background-color: #f5f5f5;
color: #333;
}

h1.linktree
{
font-size: 1.3em;
text-shadow: 2px 2px 4px #ccc;
}

h2.linktree
{
font-size: 1.1em;
color: #666;
}

img.linktree-avatar {
border-radius: 50%;
max-width: 100%;
height: 120px;
border: 2px solid #ccc;
}

.linktree-content
{
margin: 1em auto 0 auto;
max-width: 540px;
text-align: center;
padding: 1em;
}

.linktree-button-area
{
padding-top: 1.5em;
}

.linktree-button-area > a.pure-button
{
display: block;
margin: 0 auto 1em auto;
max-width: 440px;
}

@media (prefers-color-scheme: dark) {
body {
background-color: #222;
color: #f0ece2;
}
h1.linktree
{
text-shadow: 2px 2px 4px #000;
}
h2.linktree
{
color: #ccc;
}
}

0 comments on commit 14054a3

Please sign in to comment.