# HG changeset patch # User František Kučera # Date 1594737724 -7200 # Node ID 78eca0b3ab5f26d9aeec051919765d7f965f79c8 # Parent 6dff32230593fdb7a76eba6934205317843c2712 style: change font to more classic Computer Modern (CMU) + change the anchor symbol diff -r 6dff32230593 -r 78eca0b3ab5f Makefile --- a/Makefile Mon Apr 27 10:55:46 2020 +0200 +++ b/Makefile Tue Jul 14 16:42:04 2020 +0200 @@ -20,12 +20,24 @@ validate: xmllint --noout --schema schema/ssm.xsd text/ssm.en.xml -xhtml: +xhtml: templates/cmunrm.woff templates/cmunbx.woff mkdir -p build xsltproc $(VERSION_PARAMS) --output build/index.xhtml --nonet templates/ssm.xhtml.xsl text/ssm.en.xml cp templates/*.css build cp templates/*.woff build +templates/cmunrm.ttf: + cd templates/; ln -s /usr/share/fonts/truetype/cmu/cmunrm.ttf + +templates/cmunbx.ttf: + cd templates/; ln -s /usr/share/fonts/truetype/cmu/cmunbx.ttf + +templates/cmunrm.woff: templates/cmunrm.ttf + cd templates/; sfnt2woff cmunrm.ttf + +templates/cmunbx.woff: templates/cmunbx.ttf + cd templates/; sfnt2woff cmunbx.ttf + pdf: mkdir -p build xsltproc $(VERSION_PARAMS) --output build/ssm.en.fodt --nonet templates/ssm.odt.xsl text/ssm.en.xml diff -r 6dff32230593 -r 78eca0b3ab5f logo/sane-software-logo-circle.svg --- a/logo/sane-software-logo-circle.svg Mon Apr 27 10:55:46 2020 +0200 +++ b/logo/sane-software-logo-circle.svg Tue Jul 14 16:42:04 2020 +0200 @@ -30,14 +30,14 @@ inkscape:pageopacity="0.0" inkscape:pageshadow="2" inkscape:zoom="0.98994949" - inkscape:cx="-74.489942" + inkscape:cx="-251.26664" inkscape:cy="172.25179" inkscape:document-units="mm" inkscape:current-layer="layer1" showgrid="false" units="px" - inkscape:window-width="2560" - inkscape:window-height="1021" + inkscape:window-width="1920" + inkscape:window-height="1015" inkscape:window-x="0" inkscape:window-y="0" inkscape:window-maximized="1" @@ -88,30 +88,28 @@ sodipodi:role="line" x="26.445415" y="266.67731" - style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-family:Sawasdee;-inkscape-font-specification:Sawasdee;text-align:center;text-anchor:middle;stroke-width:0.26458332px" + style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-family:'CMU Serif';-inkscape-font-specification:'CMU Serif';text-align:center;text-anchor:middle;stroke-width:0.26458332px" id="tspan14-7">Sanesoftware we create software according to the + id="textPath222" + style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-family:'CMU Serif';-inkscape-font-specification:'CMU Serif';stroke-width:0.26875892px">we create software according to the manifesto + id="textPath231" + style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:3.52777767px;font-family:'CMU Serif';-inkscape-font-specification:'CMU Serif';stroke-width:0.26458332px">manifesto + inkscape:window-maximized="1" + showguides="true" + inkscape:guide-bbox="true" /> @@ -55,51 +57,51 @@ id="layer1" transform="translate(0,-275.83331)"> + id="g937" + transform="translate(2.2892291)"> Sane software + d="M 2.6975871,280.41349 H 66.807288" + style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:0.25561327px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" /> + d="M 2.6975881,292.4198 H 66.807288" + style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:0.25561327px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" /> we create software according to the + style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:3.52777767px;font-family:'CMU Serif';-inkscape-font-specification:'CMU Serif';stroke-width:0.26458332px">we create software according to the manifesto + style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:3.52777767px;font-family:'CMU Serif';-inkscape-font-specification:'CMU Serif';stroke-width:0.26458332px">manifesto diff -r 6dff32230593 -r 78eca0b3ab5f templates/Sawasdee.woff Binary file templates/Sawasdee.woff has changed diff -r 6dff32230593 -r 78eca0b3ab5f templates/cmunbx.ttf --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/templates/cmunbx.ttf Tue Jul 14 16:42:04 2020 +0200 @@ -0,0 +1,1 @@ +/usr/share/fonts/truetype/cmu/cmunbx.ttf \ No newline at end of file diff -r 6dff32230593 -r 78eca0b3ab5f templates/cmunbx.woff Binary file templates/cmunbx.woff has changed diff -r 6dff32230593 -r 78eca0b3ab5f templates/cmunrm.ttf --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/templates/cmunrm.ttf Tue Jul 14 16:42:04 2020 +0200 @@ -0,0 +1,1 @@ +/usr/share/fonts/truetype/cmu/cmunrm.ttf \ No newline at end of file diff -r 6dff32230593 -r 78eca0b3ab5f templates/cmunrm.woff Binary file templates/cmunrm.woff has changed diff -r 6dff32230593 -r 78eca0b3ab5f templates/ssm.odt.xsl --- a/templates/ssm.odt.xsl Mon Apr 27 10:55:46 2020 +0200 +++ b/templates/ssm.odt.xsl Tue Jul 14 16:42:04 2020 +0200 @@ -99,17 +99,16 @@ + + + - - - - - + @@ -117,15 +116,15 @@ - + - + - + @@ -133,7 +132,7 @@ - + diff -r 6dff32230593 -r 78eca0b3ab5f templates/ssm.xhtml.xsl --- a/templates/ssm.xhtml.xsl Mon Apr 27 10:55:46 2020 +0200 +++ b/templates/ssm.xhtml.xsl Tue Jul 14 16:42:04 2020 +0200 @@ -100,7 +100,7 @@

- 🔗 + §

    @@ -113,7 +113,7 @@
  • - 🔗 + §
      diff -r 6dff32230593 -r 78eca0b3ab5f templates/style.css --- a/templates/style.css Mon Apr 27 10:55:46 2020 +0200 +++ b/templates/style.css Tue Jul 14 16:42:04 2020 +0200 @@ -1,10 +1,15 @@ @font-face { - font-family: "Sawasdee"; - src: url("Sawasdee.woff"); + font-family: "CMU Serif Roman"; + src: url("cmunrm.woff"); +} + +@font-face { + font-family: "CMU Serif Bold"; + src: url("cmunbx.woff"); } body { - font-family: sans-serif; + font-family: "CMU Serif Roman"; font-size: 18px; background-color: white; color: black; @@ -18,8 +23,8 @@ } h1,h2,h3 { - font-family: Sawasdee; - font-weight: bold; + font-family: "CMU Serif Bold"; + font-weight: normal; } h1 { @@ -27,19 +32,13 @@ } a.anchor { - color: transparent; - text-shadow: 0 0 0 #eee; + color: #eee; text-decoration: none; - font-family: sans-serif; - font-weight: normal; - font-size: medium; - width: 0px; - height: 0px; - display: inline-block; + font-size: 80%; } h2:hover > a.anchor, li:hover > a.anchor { - text-shadow: 0 0 0 #999; + color: #999; text-decoration: none; }