diff --git a/site/crum.css b/site/crum.css deleted file mode 100644 index 8dc80272a1..0000000000 --- a/site/crum.css +++ /dev/null @@ -1,49 +0,0 @@ -table { - border-collapse: collapse; - width: 100%; -} - -tbody tr:not(:last-child) { - border-bottom: 1px solid black; -} - -thead tr { - border-bottom: 1px solid black; -} - -td:not(:first-child) { - border-left: 1px solid black; - padding-left: 5px; -} - -/* Responsive table layout for mobile */ -@media (max-width: 500px) { - table, thead, tbody, th, td, tr { - display: block; - } - - td { - border: none; - padding-bottom: 10px; - padding-left: 0; - } - - td:before { - content: attr(data-label); - display: block; - font-weight: bold; - margin-bottom: 5px; - } - - /* Center and space checkboxes for small screens */ - .checkboxes { - display: flex; - flex-wrap: wrap; - justify-content: center; - } - - .checkboxes label { - margin-bottom: 5px; - margin-right: 10px; - } -} diff --git a/site/crum.html b/site/crum.html index 916f682a12..a6a7c1dc44 100644 --- a/site/crum.html +++ b/site/crum.html @@ -5,7 +5,6 @@ A Coptic Dictionary, Walter E. Crum - home diff --git a/site/publish.sh b/site/publish.sh index 1f1f7dba9c..fff115fa13 100755 --- a/site/publish.sh +++ b/site/publish.sh @@ -102,7 +102,6 @@ build() { flashcards/data/output/web/a_coptic_dictionary__all_dialects/* \ "${CRUM_DIR}" cp "site/crum.html" "${CRUM_DIR}/index.html" - cp "site/crum.css" "${CRUM_DIR}/index.css" cp "site/data/xooxle/crum.json" "${CRUM_DIR}/xooxle.json" cp "site/data/build/xooxle.js" "${CRUM_DIR}/" diff --git a/site/style.css b/site/style.css index f048b408cd..8fba2a8b1d 100644 --- a/site/style.css +++ b/site/style.css @@ -117,3 +117,52 @@ ol li a:hover { width: 100%; } } +table { + border-collapse: collapse; + width: 100%; +} + +tbody tr:not(:last-child) { + border-bottom: 1px solid black; +} + +thead tr { + border-bottom: 1px solid black; +} + +td:not(:first-child) { + border-left: 1px solid black; + padding-left: 5px; +} + +/* Responsive table layout for mobile */ +@media (max-width: 500px) { + table, thead, tbody, th, td, tr { + display: block; + } + + td { + border: none; + padding-bottom: 10px; + padding-left: 0; + } + + td:before { + content: attr(data-label); + display: block; + font-weight: bold; + margin-bottom: 5px; + } + + /* Center and space checkboxes for small screens */ + .checkboxes { + display: flex; + flex-wrap: wrap; + justify-content: center; + } + + .checkboxes label { + margin-bottom: 5px; + margin-right: 10px; + } +}