Current section

Files

Jump to
exosculat priv static css synrc.css
Raw

priv/static/css/synrc.css

/* SYNRC LAYOUT DESIGN SYSTEM EXTENSION */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
background-color: var(--bg-primary, #f8fafc);
font-family: var(--font-sans, 'Plus Jakarta Sans', sans-serif);
font-size: 15px;
color: var(--text-secondary, #475569);
line-height: 1.6;
-webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 {
font-weight: 600;
color: var(--text-primary, #0f172a);
letter-spacing: -0.02em;
}
nav {
margin: 20px 0;
display: none;
flex-direction: column;
align-items: center;
gap: 8px;
}
nav a {
font-size: 14px;
font-weight: 500;
border: 1px solid var(--border-color, rgba(15,23,42,0.08));
background-color: var(--bg-card, #ffffff);
color: var(--text-secondary);
text-decoration: none;
margin: 0;
padding: 8px 16px;
min-width: 130px;
text-align: center;
border-radius: var(--radius-sm, 6px);
box-shadow: var(--shadow-sm);
transition: var(--transition);
}
nav a:visited {
color: var(--text-secondary);
}
nav a:hover {
border-color: var(--accent, #4f46e5);
color: var(--accent);
box-shadow: 0 0 0 1px var(--accent);
}
.logo { display: none; }
@media(min-width: 550px) {
nav {
display: flex;
flex-direction: row;
justify-content: center;
gap: 12px;
}
nav a {
font-size: 14px;
min-width: initial;
}
}
header {
text-align: center;
background-color: transparent;
padding-top: 40px;
}
header h1 {
line-height: 1.15;
margin: 30px 20px;
padding-left: 24px;
font-size: 32px;
border-left: 4px solid var(--accent, #4f46e5);
display: inline-block;
text-align: left;
}
/* SIDE PANEL */
aside {
background-color: var(--bg-card, #ffffff);
border-bottom: 1px solid var(--border-color);
padding: 40px 0;
box-shadow: var(--shadow-sm);
}
aside section {
padding: 0 24px;
max-width: 600px;
margin: auto;
}
aside h3 {
font-size: 20px;
text-transform: uppercase;
letter-spacing: 0.05em;
color: var(--accent, #4f46e5);
padding-bottom: 12px;
border-bottom: 1px solid var(--border-color);
margin-bottom: 16px;
}
aside div {
color: var(--text-secondary);
}
aside img {
width: 20px;
vertical-align: middle;
margin-right: 6px;
}
aside a {
text-decoration: none;
color: var(--accent, #4f46e5);
font-weight: 500;
transition: var(--transition);
}
aside a:visited {
color: var(--accent);
}
aside a:hover {
color: var(--accent-hover, #4338ca);
}
/* MAIN CONTENT */
main {
}
main section {
padding: 30px 0;
}
main h3 {
line-height: 1.25;
font-size: 26px;
margin: 20px;
border-left: 4px solid var(--accent, #4f46e5);
padding-left: 16px;
max-width: 100%;
}
h4 {
line-height: 1.4;
font-size: 20px;
margin: 20px;
border-left: 4px solid var(--accent, #4f46e5);
padding-left: 16px;
font-weight: 500;
color: var(--text-secondary);
}
main section:nth-of-type(even) {
background-color: var(--bg-card, #ffffff);
border-top: 1px solid var(--border-color);
border-bottom: 1px solid var(--border-color);
}
main p {
max-width: 850px;
margin: 20px;
line-height: 1.6;
color: var(--text-secondary);
}
main a {
color: var(--accent, #4f46e5);
text-decoration: none;
font-weight: 500;
transition: var(--transition);
border-bottom: 1px solid transparent;
}
main a:visited {
color: var(--accent);
}
main a:hover {
color: var(--accent-hover);
border-bottom-color: var(--accent-hover);
}
main ul {
list-style-type: none;
max-width: 850px;
margin: 20px;
}
main b {
color: var(--accent);
font-weight: 600;
}
figure {
margin: 40px auto;
max-width: 100%;
width: 850px;
text-align: center;
}
figcaption {
padding: 8px 20px;
text-transform: uppercase;
font-size: 0.85rem;
letter-spacing: 0.05em;
color: var(--text-muted);
}
figure code {
font-family: Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
font-size: 14px;
display: block;
overflow-x: auto;
max-width: 100%;
padding: 16px;
color: #e2e8f0;
background-color: #0f172a;
white-space: pre;
text-align: left;
border: 1px solid var(--border-color);
border-radius: var(--radius-md);
}
header img {
margin-right: 20px;
margin-bottom: -10px;
width: 80px;
transition: var(--transition);
}
figure img {
max-width: 100%;
background: var(--bg-card);
border: 1px solid var(--border-color);
border-radius: var(--radius-md);
box-shadow: var(--shadow-md);
}
figure pre {
font-family: Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
font-size: 14px;
overflow-x: auto;
max-width: 100%;
padding: 20px;
color: #e2e8f0;
background-color: #0f172a;
white-space: pre-wrap;
text-align: left;
border: 1px solid var(--border-color);
border-radius: var(--radius-md);
}
footer {
text-align: center;
background-color: var(--bg-card);
border-top: 1px solid var(--border-color);
color: var(--text-muted);
padding: 40px 0;
font-size: 13px;
}
.heart {
color: #ef4444;
}
li { list-style-position: inside; }
.desk { display: none; }
@media(min-width: 768px) {
body {
font-size: 16px;
}
li { list-style-position: inside; }
header h1 {
font-size: 40px;
margin: 40px 0;
}
main section {
padding-top: 20px;
}
main h3 {
font-size: 30px;
margin: 40px auto;
}
main h4 {
font-size: 22px;
margin: 40px auto;
}
main p {
margin: 20px auto;
}
main ul {
margin: 20px auto;
}
figcaption {
text-align: center;
}
figure code {
font-size: 14px;
}
}
@media(min-width: 1280px) {
.desk { display: inline-block; }
.logo { display: block; }
li { list-style-position: outside; }
body { font-size: 16px; }
header h1 {
font-size: 48px;
margin: 60px 0;
}
aside {
text-align: center;
border-bottom: 1px solid var(--border-color);
}
aside section {
display: inline-block;
vertical-align: top;
text-align: left;
max-width: 800px;
}
aside section:first-child {
max-width: 800px;
}
main {
text-align: center;
background: transparent;
}
main section {
background-color: var(--bg-card);
text-align: left;
max-width: 1000px;
margin-left: auto;
margin-right: auto;
border-left: 1px solid var(--border-color);
border-right: 1px solid var(--border-color);
box-shadow: var(--shadow-sm);
}
main section:first-child {
padding-top: 40px;
}
main h3 {
font-size: 36px;
}
}