diff --git a/static/abaev-html.css b/static/abaev-html.css index 66915f0..cf94188 100644 --- a/static/abaev-html.css +++ b/static/abaev-html.css @@ -68,10 +68,6 @@ body > header { body>main { max-width:950px } - article.abv-entry { - display: grid; - grid-template-columns: minmax(10%,15%) minmax(0,5%) minmax(75%,90%); - } } @media (min-width:1280px) { body>footer>nav, @@ -135,6 +131,11 @@ main { padding-top: 0 !important; } +article.abv-entry { + display: grid; + grid-template-columns: minmax(0px,15%) 5% minmax(50%,80%); +} + section {} aside#leftbar { @@ -403,10 +404,6 @@ div.index-submit { float: right; } -div.notes { - font-size: smaller; -} - optgroup {} option {} option:checked {} @@ -425,6 +422,7 @@ button#open-leftbar{ left: 0; /*height: 1ex;*/ /*line-height: 1ex;*/ + /*width: 1em;*/ } button#close-leftbar{ @@ -434,23 +432,6 @@ button#close-leftbar{ display: none; } -@media (max-width: 1024px) { - button#open-leftbar { - width: 1em; - height: 10ex; - margin: 0 auto; - padding-left: 0; - padding-right: 0; - } - button#close-leftbar { - width: 1em; - height: 10ex; - margin: 0 auto; - padding-left: 0; - padding-right: 0; - } -} - /* This matches forms or form elements that are invalid *and* have been interacted with. Note that: 1) You may need to add the `interacted` class to forms yourself @@ -540,9 +521,6 @@ span.abv-text-ul { span.abv-text-sc { font-variant-caps: small-caps; } -span.abv-name { - font-variant-caps: small-caps; -} /* This file evolved from Natural Selection: diff --git a/xq/site/components/entries.xqm b/xq/site/components/entries.xqm index 4bb1c0f..6eb35cf 100644 --- a/xq/site/components/entries.xqm +++ b/xq/site/components/entries.xqm @@ -17,7 +17,6 @@ declare %rest:path("{$lang}/entries/{$id}") function entries:entry($lang as xs:string, $id as xs:string, $query as xs:string?) { if (count($query) = 0) then doc(`abaevdict_{$lang}/html/{$id}.html`) - (: abv-m:make-html(doc(`abaevdict_{$lang}/xml/{$id}.xml`),$lang) :) else let $xml := doc(`abaevdict_{$lang}/xml/{$id}.xml`)/tei:entry[1] let $marked := ft:mark( diff --git a/xq/test.xq b/xq/test.xq index d3ae13b..5c42caa 100644 --- a/xq/test.xq +++ b/xq/test.xq @@ -3,10 +3,10 @@ declare namespace abv = "http://ossetic-studies.org/ns/abaevdict"; import module namespace abv-m = 'http://ossetic-studies.org/ns/abaevdict-mod' at './abv-mod.xqm'; -abv-m:make-html(doc('abaevdict_en/xml/entry_abūzyn.xml'),'en') - -(: for $node in collection('abaevdict')//tei:ref/@target[.='#ref_Walde—Pok.'] -return replace value of node $node with '#ref_Walde-Pok.' :) +let $mapdata := abv-m:make-geomap( + doc(`abaevdict_en/xml/entry_mad.xml`), + 'en') +return json:serialize($mapdata) (: collection(`abaevdict_en/html`)/article[@id='entry_az'] :) (: html:doc('abaevdict_en/html/entry_az.html') :) diff --git a/xsl/abaev2html.xsl b/xsl/abaev2html.xsl index 37d244a..dcdaa2e 100644 --- a/xsl/abaev2html.xsl +++ b/xsl/abaev2html.xsl @@ -87,24 +87,12 @@ group-adjacent="not(self::tei:etym)"> -
-

- -

-
+

+ +

-
- -

- -

-
-
-
- -
+
@@ -134,7 +122,7 @@ - i + i b @@ -272,7 +260,9 @@ - +

+ +

@@ -294,6 +284,7 @@ + @@ -338,27 +329,8 @@ - - - - - - - - -

- - -

-
- - - - - - - - + \ No newline at end of file