Files
phosphor-icons/src/components/App/App.css
2023-03-13 12:21:55 -06:00

162 lines
3.0 KiB
CSS

:root {
--red: #ff6e60;
--orange: #ff8e51;
--yellow: #ffd171;
--pale: #ffe8dc;
--peach: #ffd5c0;
--sand: #bcadaf;
--foam: #e9ebe2;
--lichen: #d2d6c5;
--moss: #3c402b;
--moss-shadow: rgba(60, 64, 43, 0.2);
--stone: #1f2310;
--acid: #c4e456;
--darkgreen: #245633;
--blue: #397fff;
--purple: #925bff;
--eggplant: #35313d;
--neutral: #86838b;
--translucent: rgba(163, 159, 171, 0.1);
--scrim: rgba(255, 255, 255, 0.05);
--sheer: rgba(194, 186, 196, 0.25);
--soft: rgba(194, 186, 196, 0.7);
--shadow: rgba(0, 0, 0, 0.15);
}
body {
margin: 0px;
font-variant-ligatures: common-ligatures;
font-family: Manrope, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
}
::selection {
color: white;
background-color: black;
}
h2 {
font-weight: 400;
}
img {
-moz-user-select: none;
-webkit-user-select: none;
-webkit-user-drag: none;
user-select: none;
}
pre,
code {
font-family: "IBM Plex Mono", "Courier New", monospace;
font-size: 12px;
}
pre {
box-sizing: border-box;
margin: 0;
border-radius: 6px;
font-size: 12x;
white-space: pre-wrap;
}
input {
font-family: Manrope, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
}
button {
border: none;
display: flex;
align-items: center;
justify-content: flex-start;
cursor: pointer;
}
button.main-button {
height: 64px;
padding: 0 48px 0 40px;
background-color: white;
border-radius: 8px;
font-family: Manrope, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
font-weight: 600;
font-size: 20px;
line-height: 30px;
box-sizing: border-box;
color: var(--moss);
border: 1px solid var(--moss);
box-shadow: 2px 2px 0 0 var(--moss-shadow);
transform: translate(0, 0);
transition: all 0.2s ease;
cursor: pointer;
-moz-user-select: none;
-webkit-user-select: none;
-webkit-user-drag: none;
user-select: none;
margin: 0 24px 24px 0;
}
button.main-button:active {
transform: translate(2px, 2px);
box-shadow: 0 0 0 0 var(--moss);
}
button.main-button svg {
margin-right: 12px;
}
.button-container {
display: flex;
flex-wrap: wrap;
}
a.main-link {
text-decoration: none;
position: relative;
color: var(--moss);
}
a.main-link:after {
content: "";
position: absolute;
bottom: -2px;
left: 0;
width: 100%;
border-bottom: 1px solid var(--moss);
transition: 0.2s;
pointer-events: none;
}
a.main-link:hover:after {
width: 0%;
}
.badge.new {
color: var(--red);
}
.badge.updated {
color: var(--blue);
}
.badge {
font-size: 24px;
line-height: 0.5em;
}
.card {
border-radius: 8px;
border: 2px solid var(--translucent);
}
.primary {
color: var(--foreground);
background-color: var(--background);
}
.secondary {
color: var(--foreground-card);
background-color: var(--background-card);
}