Login
4 branches 0 tags
Ben (Desktop/Arch) Readme.md dfc099c 1 month ago 72 Commits
rubhub / frontend / app / css / typography.css
html {
	color: var(--text-color);
	background: var(--background-color);
	font-family: var(--body-font);
}

h1,
h2,
h3 {
	font-family: var(--header-font);
	font-size: 3.2rem;
	margin-bottom: var(--space-l);
}

h1 {
	font-size: 3.2rem;
}

h2 {
	font-size: 2.8rem;
}

h3 {
	font-size: 2.4rem;
}

h4,
h5,
h6 {
	font-family: var(--body-font);
	margin-bottom: var(--space-m);
}

h4 {
	font-size: 2rem;
}

h5 {
	font-size: 1.8rem;
}

h6 {
	font-size: 1.6rem;
}

p {
	font-family: var(--body-font);
	font-size: 1em;
	line-height: 1.3em;
	margin-bottom: var(--space-m);
}

.muted {
	color: var(--text-color-muted);
	font-size: 0.95em;
}

h1:last-child,
h2:last-child,
h3:last-child,
h4:last-child,
h5:last-child,
h6:last-child,
p:last-child {
	margin-bottom: 0;
}

a {
	color: var(--primary-color);
}



ul,
ol {
  margin: 0 0 1rem 1.5rem;
  padding: 0;
  line-height: 1.5;
}

ul ul,
ul ol,
ol ul,
ol ol {
  margin-bottom: 0.25rem;
}

ul {
  list-style-type: disc;
}
ul ul {
  list-style-type: circle;
}
ul ul ul {
  list-style-type: square;
}

ol {
  list-style-type: decimal;
}
ol ol {
  list-style-type: lower-alpha;
}
ol ol ol {
  list-style-type: lower-roman;
}

/* Consistent spacing for list items */
li {
  margin: 0 0 0.25rem;
}

/* If list items contain paragraphs or block-level elements */
li > p {
  margin: 0 0 0.25rem;
}

/* Optional: make checklists (GitHub-style) aligned neatly */
.markdown-body input[type="checkbox"] {
  margin-right: 0.5rem;
}