Initial Libre Study app scaffold

This commit is contained in:
2026-07-11 21:36:30 -05:00
commit 470cde6865
46 changed files with 8226 additions and 0 deletions
+319
View File
@@ -0,0 +1,319 @@
.app-shell {
display: grid;
grid-template-columns: 360px minmax(0, 1fr);
min-height: 100vh;
background: #f7f7f4;
color: #202124;
}
.sidebar {
display: flex;
flex-direction: column;
gap: 22px;
min-height: 100vh;
padding: 24px;
background: #20231f;
color: #f6f3eb;
border-right: 1px solid #d8d5cb;
box-sizing: border-box;
}
.brand-block {
display: flex;
gap: 14px;
align-items: center;
}
.brand-mark {
display: grid;
place-items: center;
flex: 0 0 44px;
width: 44px;
height: 44px;
border-radius: 8px;
background: #d6a84f;
color: #161711;
font-weight: 800;
font-size: 16px;
}
.brand-block h1,
.reader h2,
.panel h3,
.strong-entry h4 {
margin: 0;
letter-spacing: 0;
}
.brand-block h1 {
color: #ffffff;
font-size: 22px;
line-height: 1.1;
}
.brand-block p,
.empty-text,
.result small,
.panel-note,
.translit {
margin: 0;
color: #a9ada3;
font-size: 13px;
line-height: 1.4;
}
.search-box,
.tag-filter,
.result-list {
display: flex;
flex-direction: column;
gap: 10px;
}
.search-box label,
.section-title {
color: #d9d4c4;
font-size: 12px;
font-weight: 700;
letter-spacing: 0;
text-transform: uppercase;
}
.search-row,
.tag-editor {
display: flex;
gap: 8px;
}
input {
min-width: 0;
width: 100%;
border: 1px solid #bdb8aa;
border-radius: 6px;
padding: 10px 12px;
background: #fffef9;
color: #202124;
font: inherit;
font-size: 14px;
box-sizing: border-box;
}
button {
border: 1px solid transparent;
border-radius: 6px;
padding: 10px 12px;
background: #d6a84f;
color: #141510;
font: inherit;
font-size: 14px;
font-weight: 700;
cursor: pointer;
}
button:focus-visible,
input:focus-visible {
outline: 2px solid #5d7f71;
outline-offset: 2px;
}
.tag-list,
.reader-tags {
display: flex;
flex-wrap: wrap;
gap: 8px;
}
.tag-chip {
padding: 6px 9px;
background: transparent;
color: #f6f3eb;
border: 1px solid #5d7f71;
font-size: 12px;
}
.result-list {
min-height: 0;
overflow: auto;
padding-right: 4px;
}
.result {
display: flex;
flex-direction: column;
gap: 4px;
width: 100%;
padding: 12px;
text-align: left;
background: #2c302a;
color: #f8f5ed;
border: 1px solid #3d4339;
}
.result.active {
border-color: #d6a84f;
background: #363b33;
}
.result span {
font-weight: 800;
}
.reader {
display: flex;
flex-direction: column;
gap: 22px;
padding: 30px;
min-width: 0;
box-sizing: border-box;
}
.reader-header {
display: flex;
justify-content: space-between;
gap: 20px;
align-items: flex-start;
}
.eyebrow {
color: #657061;
font-size: 12px;
font-weight: 800;
letter-spacing: 0;
text-transform: uppercase;
}
.reader h2 {
margin-top: 4px;
color: #202124;
font-size: 34px;
line-height: 1.1;
}
.reader-tags span {
border-radius: 999px;
color: white;
font-size: 12px;
font-weight: 700;
padding: 5px 9px;
}
.verse-card,
.panel,
.status-panel {
border: 1px solid #dad6cc;
border-radius: 8px;
background: #fffef9;
box-shadow: 0 12px 30px rgba(44, 48, 42, 0.08);
}
.verse-card {
padding: 30px;
}
.verse-card p {
margin: 0;
color: #1f211e;
font-family: Georgia, 'Times New Roman', serif;
font-size: 31px;
line-height: 1.55;
}
.study-grid {
display: grid;
grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
gap: 18px;
align-items: start;
}
.panel {
padding: 18px;
}
.panel-header {
display: flex;
justify-content: space-between;
align-items: center;
gap: 12px;
padding-bottom: 14px;
border-bottom: 1px solid #e4e0d6;
}
.panel h3 {
color: #2a2d28;
font-size: 18px;
}
.panel-header span {
color: #657061;
font-size: 13px;
font-weight: 800;
}
.strong-list {
display: grid;
gap: 12px;
padding-top: 14px;
}
.strong-entry {
border: 1px solid #e4e0d6;
border-radius: 8px;
padding: 14px;
background: #fbfaf4;
}
.strong-entry div {
display: flex;
justify-content: space-between;
gap: 12px;
align-items: center;
color: #657061;
font-size: 12px;
}
.strong-entry h4 {
margin-top: 8px;
color: #1f211e;
font-size: 18px;
}
.strong-entry p {
margin: 8px 0 0;
color: #3f443d;
font-size: 14px;
line-height: 1.5;
}
.tag-editor {
margin-top: 16px;
}
.panel-note {
margin-top: 14px;
color: #657061;
}
.status-panel {
padding: 28px;
color: #3f443d;
}
.status-panel.error {
border-color: #b42318;
color: #b42318;
}
@media (max-width: 900px) {
.app-shell,
.study-grid {
grid-template-columns: 1fr;
}
.sidebar {
min-height: auto;
}
.reader-header {
flex-direction: column;
}
}