Skip to content

Commit

Permalink
dict CSS linting (syntax errors + fix import)
Browse files Browse the repository at this point in the history
  • Loading branch information
unhammer committed Jun 11, 2024
1 parent 5fda324 commit 74dbefd
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 16 deletions.
27 changes: 13 additions & 14 deletions dicts/scripts/gt_dictionary.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
@charset "utf-8";
#@import "../../../tools/xxe/gtdict-config/gt_dictionary_XXE.css";
@import "../../giella-core/dicts/scripts/gt_dictionary_XXE.css";
@import "gt_dictionary_XXE.css";
@import "gt_dictionary_shared.css";


Expand All @@ -19,23 +18,21 @@


r {
# column-count: 2;
/* column-count: 2; */
column-rule-style: solid;
column-rule-width: 1px;
column-rule: 1px solid black;
}

<!--
<style type="text/css">
@media all {
.page-break{ display: none; }}
@media print {
.page-break{ display: block; page-break-before: always; }}
@page { size:8.5in 11in; margin: 2cm}
</style>
-->
/* <style type="text/css"> */
/* @media all { */
/* .page-break{ display: none; }} */
/* @media print { */
/* .page-break{ display: block; page-break-before: always; }} */
/* @page { size:8.5in 11in; margin: 2cm} */
/* </style> */

<r class="page-break"></r>
/* <r class="page-break"></r> */

e:nth-child(even) {background-color: #eee}
e:nth-child(odd) {border: none}
Expand Down Expand Up @@ -90,8 +87,10 @@ e > lg ~ mg xg:before {

/*e:after {
display: block;
content: "exclude: ";*/
content: "exclude: ";
}
*/

exclude {
display: none;
/*
Expand Down
2 changes: 1 addition & 1 deletion dicts/scripts/gt_dictionary_XXE_shared.css
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ stem {
stem + stem:before {
content: ", ";
}
*/

lg > analysis:before {
content: " Analysis: " ;
font-size: small;
Expand Down
2 changes: 1 addition & 1 deletion dicts/scripts/gt_dictionary_alt.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@charset "utf-8";
@import "../../../tools/xxe/gtdict-config/gt_dictionary_XXE_alt.css";
@import "gt_dictionary_XXE_alt.css";
@import "gt_dictionary_shared.css";

/* The following rules are not working in XML Editor (XXE), but
Expand Down

0 comments on commit 74dbefd

Please sign in to comment.