diff --git a/README.md b/README.md index 3ebd133..4074b15 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # About -As I've started learning Latin from Lingua Latina Per Se Illustrata I've encourtered the urge for Duolingo-like interface allowing me to : +As I've started learning Latin from Lingua Latina Per Se Illustrata I've encourtered the urge for Duolingo-like interface allowing me to: 1. check given words in the wiktionairy, so I could see IPA, meaning, declinations etc. next to the text, 2. perform the Pensa so that I could see the mistakes I've made. @@ -14,7 +14,7 @@ As I've started learning Latin from Lingua Latina Per Se Illustrata I've encourt # TODO - [x] text to html parser to swiftly migrate the cloze Pensa - [ ] dictionairy interface - - [ ] + - [ ] sync performing Pensa with doneth.at # Development diff --git a/app/static/css/LLPSI.css b/app/static/css/LLPSI.css index 98c2687..70eb5ea 100644 --- a/app/static/css/LLPSI.css +++ b/app/static/css/LLPSI.css @@ -1,3 +1,19 @@ +body { + margin: 10vw; +} + +h1 { + font-size: 5vw; +} + +h2 { + font-size: 3vw; +} + +#pensum_content { + font-size: 2vw; +} + input[type="text"] { -webkit-appearance: none; border: none; diff --git a/app/templates/Pensum_cloze.html b/app/templates/Pensum_cloze.html index 955b5ef..68c6129 100644 --- a/app/templates/Pensum_cloze.html +++ b/app/templates/Pensum_cloze.html @@ -2,11 +2,12 @@ - Familia Romana – Pensum A + {{pensum_title}} + diff --git a/app/templates/index.html b/app/templates/index.html index ee7ce22..b2d72ea 100644 --- a/app/templates/index.html +++ b/app/templates/index.html @@ -4,6 +4,7 @@ Lingua Latina Per Se Illustrata +

Lingua Latina Per Se Illustrata

diff --git a/text2pensum.py b/text2pensum.py index 4994114..965aefa 100644 --- a/text2pensum.py +++ b/text2pensum.py @@ -7,7 +7,8 @@ for filename in sys.argv[1:]: # Replace _string_ with html html_head = '' + # html_mid = '" style="width: ' + # html_tail = 'em"/>' html_tail = '"/>' content = re.sub(r'_([a-zA-Z\-]+)_', html_head+r'\1'+html_tail, content)