mirror of
https://github.com/kevin-DL/services.git
synced 2026-01-22 23:35:26 +00:00
Autogenerate services.m3o.com (#37)
* Autogenerate services.m3o.com * Openapi for all * Gen * Fix * Whaat * Fix dep * Fix * Hmm * Install make * Debug * Debug 1 * Location -> locations * Fix * Intall protoc gen micro * F * F * F * Push * Rename secret * Fix npm install * Fix script * Fix v2 * Ignore errors * Ignore v2 * F * F * F * Docs index * Add hugo theme * Hugo tania fixes * Change gen * Change gen 2 * Install hugo * Change gen * Gen fix * Change hugo install * Change hugo install * CNAME * Change articles wording * Tiny fix * Fix gen * Redoc it all * Fix gen * Fixing up protos * Fix proto * Fix gen * Fix * Trigger build * Fix copy * Openapi docs * Flatten * Changes * No date vol2 * Changes * Add make to chat * Fixes * Change * api spec * replace RSS * fix link * Dont continue on error * increase the width * use micro at master * change box colours * move some things * Pushing new readmes to see how they look like * Add skip file * Readmes * Nicer api link * Remove stutter * FIx mistake * set service font weight * Messages readme fix * add other font bold * Notes * Remove post from url * Revert "Remove post from url" This reverts commit 5fea2c23d0bafa910f5dc4d4cc63f71f578530e3. * move exampleSite to site * replace exampleSite with site * update readme * use filename for post * update index * Add source urls * set source as params * set source as params * Fix entries * Generator in go * Fixes to generator * F * Change doc gen * FIx cname * Fixing protos * Change to makefiles * Fix gen script Co-authored-by: Asim Aslam <asim@aslam.me>
This commit is contained in:
171
docs/hugo-tania/assets/sass/base/_headings.scss
Normal file
171
docs/hugo-tania/assets/sass/base/_headings.scss
Normal file
@@ -0,0 +1,171 @@
|
||||
/* Headings */
|
||||
|
||||
h1 {
|
||||
color: var(--h1-color);
|
||||
}
|
||||
|
||||
h3,
|
||||
h4 {
|
||||
color: var(--medium-font-color);
|
||||
}
|
||||
|
||||
h2,
|
||||
h5 {
|
||||
color: var(--heading-color);
|
||||
}
|
||||
|
||||
h1,
|
||||
h2,
|
||||
h3,
|
||||
h4,
|
||||
h5 {
|
||||
margin: 0 0 1.5rem 0;
|
||||
font-weight: 700;
|
||||
line-height: 1.2;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
}
|
||||
|
||||
h1:not(:first-child),
|
||||
h2:not(:first-child),
|
||||
h3:not(:first-child),
|
||||
h4:not(:first-child) {
|
||||
margin-top: 3rem;
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-size: 2.5rem;
|
||||
line-height: 1.1;
|
||||
}
|
||||
|
||||
h2 {
|
||||
font-size: 1.75rem;
|
||||
padding-bottom: 0.5rem;
|
||||
border-bottom: 4px solid var(--light-background);
|
||||
|
||||
code {
|
||||
font-size: 1.75rem !important;
|
||||
}
|
||||
}
|
||||
|
||||
h3 {
|
||||
font-size: 1.5rem;
|
||||
color: var(--font-color);
|
||||
font-weight: 600;
|
||||
margin-bottom: 1rem;
|
||||
|
||||
code {
|
||||
font-size: 1.4rem !important;
|
||||
}
|
||||
}
|
||||
|
||||
h4 {
|
||||
font-size: 1.3rem;
|
||||
color: var(--font-color);
|
||||
font-weight: 500;
|
||||
margin-bottom: 1rem;
|
||||
border-bottom: 2px solid var(--light-background);
|
||||
padding-bottom: 0.25rem;
|
||||
}
|
||||
|
||||
h5 {
|
||||
font-size: 1.2rem;
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
@media screen and (min-width: 800px) {
|
||||
h1 {
|
||||
font-size: 3rem;
|
||||
}
|
||||
|
||||
h2 {
|
||||
font-size: 1.9rem;
|
||||
|
||||
code {
|
||||
font-size: 1.9rem !important;
|
||||
}
|
||||
}
|
||||
|
||||
h3 {
|
||||
font-size: 1.7rem;
|
||||
color: var(--font-color);
|
||||
font-weight: 600;
|
||||
|
||||
code {
|
||||
font-size: 1.6rem !important;
|
||||
}
|
||||
}
|
||||
|
||||
h4 {
|
||||
font-weight: 400;
|
||||
font-size: 1.4rem;
|
||||
}
|
||||
}
|
||||
|
||||
a {
|
||||
&.link {
|
||||
display: block;
|
||||
padding: 0.25rem 0;
|
||||
margin: 0.25rem 0;
|
||||
border-radius: 0.35rem;
|
||||
font-weight: 600;
|
||||
color: var(--dark-font-color);
|
||||
|
||||
&:hover {
|
||||
color: var(--link-color);
|
||||
}
|
||||
}
|
||||
|
||||
&.button {
|
||||
display: inline-block;
|
||||
border: 2px solid var(--link-color);
|
||||
padding: 0.3rem 0.6rem;
|
||||
margin-right: 0.75rem;
|
||||
font-weight: 500;
|
||||
background: var(--link-color);
|
||||
color: white;
|
||||
border-radius: 0.35rem;
|
||||
font-size: 0.9rem;
|
||||
|
||||
&.large {
|
||||
padding: 0.8rem 1rem;
|
||||
font-size: 1.05rem;
|
||||
}
|
||||
|
||||
&.secondary {
|
||||
border: 2px solid #edf2ff;
|
||||
background: #edf2ff;
|
||||
color: #3b5bdb;
|
||||
}
|
||||
|
||||
&:hover, &.secondary:hover {
|
||||
border: 2px solid var(--link-color-darker);
|
||||
background: var(--link-color-darker);
|
||||
color: white;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (min-width: 800px) {
|
||||
a.button {
|
||||
font-size: 0.9rem;
|
||||
|
||||
&.large {
|
||||
padding: 1rem 1.5rem;
|
||||
font-size: 1.1rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
p.subtitle {
|
||||
color: var(--medium-font-color);
|
||||
font-size: 1.3rem;
|
||||
font-weight: 300;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
@media screen and (min-width: 800px) {
|
||||
p.subtitle {
|
||||
font-size: 1.5rem;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user