mirror of
https://github.com/abuseofnotation/category-theory-illustrated.git
synced 2024-10-26 18:00:00 +03:00
117 lines
1.5 KiB
CSS
117 lines
1.5 KiB
CSS
:root {
|
|
--color: black;
|
|
}
|
|
|
|
body {
|
|
line-height: 1.5;
|
|
margin: 0;
|
|
font-size: 20px;
|
|
}
|
|
|
|
.header {
|
|
color:white;
|
|
background-color: gray;
|
|
width: 100%;
|
|
text-align: center;
|
|
}
|
|
|
|
.container {
|
|
max-width: 1000px;
|
|
margin: auto;
|
|
padding: 2%;
|
|
}
|
|
|
|
.footer {
|
|
color:white;
|
|
background-color: gray;
|
|
width: 100%;
|
|
font-size: 40px;
|
|
}
|
|
.header a {
|
|
color: white;
|
|
text-decoration: none;
|
|
}
|
|
.footer a {
|
|
color: white;
|
|
}
|
|
|
|
pre {
|
|
background-color: gray;
|
|
color:#fff;
|
|
padding: 7px 7px 7px 10px;
|
|
box-shadow: 3px 3px rgba(0,0,0,0.1);
|
|
margin: 20px 0 20px 0;
|
|
font-family: 'Source Code Pro', monospace;
|
|
white-space: pre-wrap;
|
|
}
|
|
|
|
blockquote {
|
|
border-left: 4px dotted #666;
|
|
padding: 0 10px;
|
|
color: #666;
|
|
}
|
|
|
|
h1 {
|
|
font-size: 40px;
|
|
}
|
|
|
|
h2 {
|
|
font-size: 25px;
|
|
}
|
|
|
|
h3 {
|
|
font-size: 15px;
|
|
}
|
|
|
|
h4 {
|
|
font-size: 10px;
|
|
color: gray;
|
|
}
|
|
|
|
|
|
a {
|
|
color: gray;
|
|
cursor: pointer;
|
|
}
|
|
|
|
table {
|
|
border: 3px solid var(--color);
|
|
width: 100%;
|
|
text-align: left;
|
|
border-collapse: collapse;
|
|
table-layout: fixed
|
|
}
|
|
table td, table th {
|
|
border: 1px solid var(--color);
|
|
padding: 5px 4px;
|
|
}
|
|
table tbody td {
|
|
}
|
|
table thead {
|
|
background: var(--color);
|
|
color: white;
|
|
border-bottom: 3px solid var(--color);
|
|
}
|
|
table thead th {
|
|
font-weight: bold;
|
|
text-align: left;
|
|
}
|
|
table tfoot {
|
|
font-weight: bold;
|
|
border-top: 3px solid var(--color);
|
|
}
|
|
|
|
img {
|
|
width: 100%;
|
|
}
|
|
.button {
|
|
background-color: black;
|
|
color: white;
|
|
padding: 10px;
|
|
text-decoration: none;
|
|
line-height: 2.5;
|
|
}
|
|
.icon {
|
|
font-size: 26px;
|
|
}
|