Skip to content

Instantly share code, notes, and snippets.

@kylereddoch
Created August 11, 2024 20:26
Show Gist options
  • Save kylereddoch/6849d3aa5f2f9cefbb17b29f219b239c to your computer and use it in GitHub Desktop.
Save kylereddoch/6849d3aa5f2f9cefbb17b29f219b239c to your computer and use it in GitHub Desktop.
@import url('https://cdn.cache.lol/css/type.css');
:root {
--background-color: #282a36;
--main-color: #44475a;
--forground: #f8f8f2;
--comment: #6272a4;
--cyan: #8be9fd;
--green: #50fa7b;
--orange: #ffb86c;
--pink: #ff79c6;
--purple: #bd93f9;
--red: #ff5555;
--yellow: #f1fa8c;
}
* {
box-sizing: border-box;
}
::selection {
background: var(--purple);
color: var(--forground);
}
body {
font-size: 1.2em;
margin: 0;
padding: 2em;
font-family: 'Mint Grotesk', sans-serif;
font-weight: 300;
background: var(--background-color);
background-repeat: no-repeat;
background-attachment: fixed;
height: 100%;
overflow-wrap: break-word;
color: var(--forground);
}
main {
display: block;
max-width: 60em;
border-radius: 1em;
margin: 2em auto;
background: var(--main-color);
padding: 2em;
}
h1 {
margin: 0;
}
#profile-items {
/*border-top: 1px solid #666;*/
padding: .5em 0 0 0;
margin: 1.5em 0 0 0;
}
#profile-items :is(h1, h2, h3, h4, h5, h6) {
text-align: left;
margin: 0;
}
#profile-items h1 { font-size: 1.2em; }
#profile-items h2 { font-size: 1.2em; }
#profile-items h3 { font-size: 1.2em; }
#profile-items h4 { font-size: 1.1em; }
#profile-items h5 { font-size: 1.1em; }
#profile-items h6 { font-size: 1.1em; }
#profile-picture-container {
margin: auto;
color: var(--main-color);
margin-bottom: 1em;
}
#profile-picture {
border-radius: 0.25em;
height: 8.7em;
}
#pronouns {
margin: 0;
font-weight: 400;
color: var(--purple);
}
#pronouns a:link,
#pronouns a:visited,
#pronouns a:hover,
#pronouns a:active {
color: var(--comment);
}
#details {
margin: 1em 0;
}
#location {
display: inline-block;
}
#occupation {
display: inline-block;
}
#location, #occupation {
margin: .5em;
padding: 0 .5em;
}
#bio {
text-align: center;
font-size: 110%;
line-height: 140%;
}
#footer {
margin: 0;
margin-top: 5em;
font-size: 90%;
font-weight: 300;
color: var(--comment);
}
#footer a:link,
#footer a:visited,
#footer a:hover,
#footer a:active {
color: var(--comment);
text-decoration: none;
border: 0;
}
#footer .fa-plug {
transform: rotate(0deg);
transition: all 0.3s ease;
}
#footer:hover .fa-plug {
transform: rotate(90deg);
transition: all 0.3s ease;
}
a:link,
a:visited {
color: var(--forground);
text-decoration-color: var(--forground);
text-decoration: none;
border-bottom: 1px dotted var(--comment);
}
a:hover,
a:active {
color: var(--forground);
text-decoration-color: var(--forground);
text-decoration: none;
border-bottom: 2px solid var(--comment);
}
/*
.omg-icon-li {
position: relative;
border: 0px solid var(--green);
}
.omg-icon {
display: inline-block;
width: 1em;
position: absolute;
top: -0.1em;
left: -1.5em;
}
.omg-icon::before {
display: none;
}
*/
/*
@media (prefers-color-scheme: dark) {
.omg-icon svg {
fill: #fff;
}
}
*/
@media (prefers-color-scheme: dark) {
.omg-icon.rainbow-me svg {
fill: var(--forground);
}
}
@media (max-width: 500px) {
body {
font-size: 1em;
padding: 1em;
}
main {
padding: 1.5em;
}
}
h1#name a i.fa-badge-check, .omg-verified {
color: var(--purple) !important;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment