Skip to content

Instantly share code, notes, and snippets.

@E-Lee-Za

E-Lee-Za/eleeza-theme.css

Last active Jun 28, 2020
Embed
What would you like to do?
:root {
--colors-one: #ff944d;
--colors-two: #ff6600;
--colors-three: #cc2900;
--colors-four: #690000;
}
@media (prefers-color-scheme: dark) {
:root {
--colors-text: #Ffffff;
--colors-background: var(--colors-darker);
--colors-sheet: var(--colors-darkless);
--colors-elevated: var(--colors-darkless);
--colors-sunken: var(--colors-darker);
}
}
body {
background-image: url("https://raw.githubusercontent.com/E-Lee-Za/hc-summer-scrapbook/master/background-glowey.png");
}
.nav {
padding: 0 16px;
display: flex;
align-items: center;
width: 100%;
}
.nav-link {
margin-left: 16px;
color: #Ffffff;
text-decoration: none;
transition: 0.125s color ease-in-out;
}
.nav-link:hover,
.nav-link:focus {
color: #ff944d;
}
.nav-link-home {
font-weight: bold;
text-transform: uppercase;
letter-spacing: 0.03em;
margin-right: auto;
font-size: 20px;
-webkit-text-fill-color: currentColor;
}
.nav-link-about {
margin-left: auto;
}
.nav-link-github {
line-height: 0;
}
.container {
max-width: 72rem;
padding: 1rem 1rem 2rem;
margin: auto;
}
.header {
display: grid;
max-width: 48rem;
}
@media (min-width: 48em) {
.nav {
padding: 0 32px;
}
.nav-link-home {
margin-left: 12px;
}
.header {
grid-template-columns: 2fr 3fr;
}
}
/*
.header-back {
display: inline-flex;
align-items: center;
justify-content: center;
padding: 4px 8px;
margin-left: -12px;
color: var(--colors-muted);
border-radius: 999px;
text-decoration: none;
transition: box-shadow 0.125s ease-in-out;
}
.header-back:focus,
.header-back:hover {
box-shadow: 0 0 0 2px;
outline: none;
}
.header-back svg {
margin-right: 8px;
}
*/
@media (max-width: 32em) {
.header-col-1 {
display: flex;
align-items: center;
margin-top: 24px;
margin-bottom: 16px;
}
}
.header-title-avatar {
border-radius: 64px;
margin-right: 16px;
}
.header-title-name {
margin: 0;
flex: 1 1 auto;
font-size: 48px;
line-height: 1;
}
.badge {
background-color: #ff6600;
color: #Ffffff;
display: inline-flex;
align-items: center;
font-weight: bold;
border-radius: 999px;
text-align: center;
}
.header-streak {
padding: 4px 16px 4px 0;
margin-right: 12px;
max-height: 28px;
}
.header-streak-zero {
background-color: var(--colors-muted);
}
.header-content {
display: flex;
align-items: center;
}
.header-link {
color: #690000;
padding-right: 8px;
line-height: 0;
}
.header-chart svg {
max-width: 100%;
max-height: 266px;
overflow-y: hidden;
}
.react-calendar-heatmap text {
fill: #000044;
font-size: 6px;
}
.react-calendar-heatmap .color-empty {
fill: var(--colors-sheet);
}
.react-calendar-heatmap .color-1 {
fill: var(--colors-one);
}
.react-calendar-heatmap .color-2 {
fill: var(--colors-two);
}
.react-calendar-heatmap .color-3 {
fill: var(--colors-three);
}
.react-calendar-heatmap .color-4 {
fill: var(--colors-four);
}
.posts {
display: grid;
grid-gap: 1px;
border-radius: 16px;
overflow: hidden;
background-color: #262651;
}
@media (min-width: 32em) {
.posts {
grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
}
}
.post {
padding: 16px;
background-color: #4c4c5e;
position: relative;
width: 100%;
}
.post-header {
color: inherit;
text-decoration: none;
display: flex;
align-items: center;
margin-bottom: 8px;
line-height: 1;
}
.post-header-avatar {
width: 48px;
height: 48px;
border-radius: 24px;
margin-right: 8px;
}
.post-header-name {
font-size: 16px;
word-break: break-all;
word-wrap: break-word;
display: flex;
align-items: center;
padding-bottom: 3px;
}
.post-header-css {
color: var(--colors-pink);
}
.post-header-streak {
margin-right: 4px;
margin-left: 8px;
padding-left: 10px;
font-size: 12px;
max-height: 20px;
}
.post-header-date {
color: var(--colors-muted);
font-family: 14px;
}
.post-header > .post-header-date {
margin-left: 0;
color: var(--colors-text);
font-size: 18px;
font-weight: bold;
}
.post-text {
font-size: 18px;
word-wrap: break-word;
}
.post-text a {
color: #ff944d;
}
a.post-text-mention {
color: var(--colors-purple);
display: inline-flex;
align-items: baseline;
}
.post-text-mention-avatar {
border-radius: 50%;
margin-right: 4px;
align-self: flex-end;
}
.post-attachments {
display: grid;
grid-template-columns: repeat(2, 1fr);
grid-gap: 8px;
align-items: center;
margin-top: 16px;
}
.post-attachment {
width: 100%;
border-radius: 6px;
overflow: hidden;
text-align: center;
}
a.post-attachment {
line-height: 0;
}
.post-attachment img {
border-radius: 6px;
}
.post-attachment img,
video.post-attachment {
background-color: var(--colors-sunken);
max-width: 100%;
max-height: 256px;
}
video.post-attachment,
audio.post-attachment,
a.post-attachment:first-child:last-child {
grid-column: span 2;
}
.css {
display: flex;
align-items: center;
color: #000044;
margin-top: 32px;
}
.css-icon {
margin-left: -4px;
margin-right: 8px;
}
.css-link {
flex: 1 1 auto;
word-wrap: break-word;
word-break: break-all;
color: inherit;
font-size: 14px;
font-family: var(--fonts-mono);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.