Refactor, update UI, and add notes

This commit is contained in:
Paul W
2022-10-04 23:41:59 -04:00
parent 3781c2c154
commit d94de055d8
31 changed files with 813 additions and 265 deletions

View File

@@ -8,6 +8,8 @@
--primary-blue: #0a82b1;
--secondary-blue: #05455f;
--tertiary-blue: #05232f;
--table-odd-color: rgba(255, 255, 255, 0.05);
--table-even-color: rgba(255, 255, 255, 0.025);
}
@font-face {
@@ -98,10 +100,6 @@
box-sizing: border-box;
}
body {
font-family: 'Cantarell', 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', 'Helvetica Neue', 'Helvetica', Arial, sans-serif;
}
article,
aside,
figcaption,
@@ -116,7 +114,8 @@ section {
}
body {
margin: 0 0 4rem;
font-family: 'Cantarell', 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', 'Helvetica Neue', 'Helvetica', Arial, sans-serif;
margin: 0 0 44px;
font-size: 18px;
font-weight: 400;
line-height: 1.5;
@@ -125,7 +124,6 @@ body {
height: 100%;
background-color: var(--main-background-color);
background-size: cover;
padding-bottom: 2.5rem;
}
[tabindex="-1"]:focus {
@@ -208,6 +206,15 @@ pre {
overflow-x: auto;
}
code {
overflow-x: auto;
max-width: 100%;
display: inline-block;
background-color: rgba(255, 255, 255, 0.1);
padding: 0.1rem 0.5rem;
vertical-align: bottom;
}
pre,
kbd,
code {
@@ -220,6 +227,11 @@ table {
flex-direction: column;
margin: 1rem 0;
overflow: hidden;
border-radius: 0.5rem;
}
table thead+tbody tr {
border-radius: 0;
}
table thead {
@@ -227,13 +239,24 @@ table thead {
z-index: -1;
}
table tbody,
table tr:last-of-type
{
border-bottom-left-radius: 0.5rem;
border-bottom-right-radius: 0.5rem;
}
table thead tr,
table tbody tr {
display: flex;
}
table tbody tr+tr {
border-top: 1px solid #999999;
table tbody tr:nth-of-type(2n) {
background-color: var(--table-even-color);
}
table tbody tr:nth-of-type(2n+1) {
background-color: var(--table-odd-color);
}
table thead tr th,
@@ -243,6 +266,10 @@ table tbody tr td {
padding: .25rem 0.75rem;
}
li {
list-style-type: square;
}
.lambda-logo {
width: 256px;
height: 256px;
@@ -253,28 +280,26 @@ table tbody tr td {
}
.container {
max-width: 1018px;
margin: 0 auto;
margin: 0 0.5rem;
position: relative;
}
@media screen and (min-width: 1018px) {
.container {
max-width: 1018px;
margin: 0 auto;
position: relative;
}
}
.block {
display: block;
padding: 1.5rem;
padding: 0.5rem;
max-width: 100%;
margin: 1rem 0.25rem;
border-radius: 1rem;
}
code {
overflow-x: auto;
max-width: 100%;
display: inline-block;
background-color: rgba(255, 255, 255, 0.1);
padding: 0.1rem 0.5rem;
vertical-align: bottom;
}
.button {
padding: 0.2rem 1rem;
margin: 0.3rem 0.3rem;
@@ -323,7 +348,7 @@ code {
text-align: center;
}
.no-display {
.none.display {
display: none;
}
@@ -363,6 +388,14 @@ code {
display: none;
}
.sans.serif {
font-family: 'Cantarell', 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', 'Helvetica Neue', 'Helvetica', Arial, sans-serif;
}
.serif {
font-family: 'EB Garamond', 'Garamond', 'Times New Roman', Times, serif;
}
.monospace {
font-family: 'Hack', 'Source Code Pro', Consolas, monospace;
}

View File

@@ -5,21 +5,25 @@
left: 0;
top: 0;
bottom: 0;
margin: 0;
padding: 0;
background-size: cover;
background-position: top left;
background-repeat: no-repeat;
background-position: top center;
min-height: 100%;
background-attachment: fixed;
}
.block {
font-family: 'EB Garamond', 'Garamond', 'Times New Roman', Times, serif;
background-color: rgba(13, 17, 23, 0.95);
background-color: rgba(13, 17, 23, 0.99);
margin: 0 auto;
border-radius: 0;
font-size: 1.25rem;
line-height: 2rem;
padding: 2rem 1rem;
}
.spacer {
height: 5rem;
height: 25rem;
}

View File

@@ -1,28 +1,63 @@
.container {
border-bottom-left-radius: 1rem;
border-bottom-left-radius: 0.5rem;
border-bottom: 1px dashed var(--main-border-color);
border-left: 1px dashed var(--main-border-color);
padding-top: 1.5rem;
padding-top: 1.25rem;
margin-left: 0.5rem;
}
.block {
padding: 0.25rem 0.5rem;
margin: 0 0.5rem 0.25rem 0;
border-top: 1px dashed var(--main-border-color);
margin: 0;
position: relative;
display: flex;
align-items: center;
}
.block+.block {
border-top: 1px dashed var(--main-border-color);
}
.block:first-of-type {
border-top-right-radius: 0.5rem;
}
.block:nth-of-type(2n) {
background-color: var(--table-even-color);
}
.block:nth-of-type(2n+1) {
background-color: var(--table-odd-color);
}
.postTitle {
flex-grow: 8;
padding: 0.1rem 0.2rem;
font-family: 'EB Garamond', 'Garamond', 'Times New Roman', Times, serif;
flex: 1 1 60%;
padding: .25rem 0.75rem;
}
.postTitle a {
text-decoration: none;
border: 1px dotted transparent;
transition: border-width 100ms ease-in-out;
}
.postTitle a:hover {
text-decoration: none;
border-bottom: 1px dotted var(--link-color);
}
.postTitle a:focus {
text-decoration: none;
border: 1px dotted var(--link-color);
}
.postDate {
flex: 1 1;
display: inline-block;
text-align: right;
font-style: italic;
font-size: 0.95rem;
font-size: 0.9rem;
padding: .25rem 0.50rem;
}
.more {

View File

@@ -11,15 +11,20 @@
}
.nav {
white-space: pre-wrap;
padding: 0.25rem 0.75rem;
font-size: 1.5rem;
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.4);
position: fixed;
bottom: 0;
z-index: 1000;
left: 0;
right: 0;
margin: 0;
height: 2.75rem;
max-height: 2.75rem;
min-height: 2.75rem;
min-width: 100%;
width: 100%;
background: linear-gradient(to bottom right, #1a3a15, #09351b) no-repeat center center fixed;
overflow-y: hidden;
overflow-x: auto;
white-space: nowrap;
}