category-theory-illustrated/style.css

117 lines
1.5 KiB
CSS
Raw Normal View History

2021-06-11 16:39:42 +03:00
:root {
--color: black;
}
2020-12-28 21:52:31 +03:00
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;
2021-02-11 14:53:19 +03:00
padding: 2%;
2020-12-28 21:52:31 +03:00
}
.footer {
color:white;
background-color: gray;
width: 100%;
2021-02-11 14:53:19 +03:00
font-size: 40px;
2020-12-28 21:52:31 +03:00
}
.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;
}
2021-02-11 14:53:19 +03:00
blockquote {
border-left: 4px dotted #666;
padding: 0 10px;
color: #666;
}
2020-12-28 21:52:31 +03:00
h1 {
font-size: 40px;
}
h2 {
font-size: 25px;
}
h3 {
font-size: 15px;
}
h4 {
font-size: 10px;
color: gray;
}
a {
color: gray;
cursor: pointer;
}
2021-03-26 23:56:05 +03:00
table {
2021-06-11 16:39:42 +03:00
border: 3px solid var(--color);
2021-03-26 23:56:05 +03:00
width: 100%;
text-align: left;
border-collapse: collapse;
table-layout: fixed
}
table td, table th {
2021-06-11 16:39:42 +03:00
border: 1px solid var(--color);
2021-03-26 23:56:05 +03:00
padding: 5px 4px;
}
table tbody td {
}
table thead {
2021-06-11 16:39:42 +03:00
background: var(--color);
2021-03-26 23:56:05 +03:00
color: white;
2021-06-11 16:39:42 +03:00
border-bottom: 3px solid var(--color);
2021-03-26 23:56:05 +03:00
}
table thead th {
font-weight: bold;
text-align: left;
}
table tfoot {
font-weight: bold;
2021-06-11 16:39:42 +03:00
border-top: 3px solid var(--color);
2021-03-26 23:56:05 +03:00
}
2021-05-24 15:41:39 +03:00
img {
width: 100%;
}
.button {
background-color: black;
color: white;
padding: 10px;
text-decoration: none;
2021-06-11 16:39:42 +03:00
line-height: 2.5;
2021-05-24 15:41:39 +03:00
}
.icon {
font-size: 26px;
}