Changes between Version 1 and Version 2 of Styles/Schools


Ignore:
Timestamp:
2016-01-27T07:54:30+01:00 (10 years ago)
Author:
Polyglot
Comment:

made it more selective

Legend:

Unmodified
Added
Removed
Modified
  • Styles/Schools

    v1 v2  
    11{{{
    22#!style type="mapcss"
    3 
    43meta
    54{
     
    1211}
    1312
    14 node|z12-[amenity]::name,
    15 area|z12-[amenity]::name
     13node|z12-[amenity=~/school|kindergarten|university/]::name,
     14area|z12-[amenity=~/school|kindergarten|university/]::name
    1615 {text-color: purple;
    1716  font-size: 24;
     
    2019  text-offset-y: 20;}
    2120
    22 node|z12-[amenity]::wikidata,
    23 area|z12-[amenity]::wikidata
     21node|z12-[amenity=~/school|kindergarten|university/]::wikidata,
     22area|z12-[amenity=~/school|kindergarten|university/]::wikidata
    2423 {text-color: blue;
    2524  font-size: 18;
     
    2827  text-offset-y: 50;}
    2928
    30 node|z12-[amenity]::wikipedia
     29node|z12-[amenity=~/school|kindergarten|university/]::wikipedia,
     30area|z12-[amenity=~/school|kindergarten|university/]::wikipedia
    3131 {text-color: blue;
    3232  font-size: 18;
     
    3535  text-offset-y: 70;}
    3636
    37 node|z12-[amenity]::note_code
     37node|z12-[amenity=~/school|kindergarten|university/]::note_code,
     38area|z12-[amenity=~/school|kindergarten|university/]::note_code
    3839 {text-color: cyan;
    3940  font-size: 20;
     
    4445  z-index:1.0;}
    4546
    46 node|z17-[amenity]::note_remarks
     47node|z14-[amenity=~/school|kindergarten|university/]::note_remarks,
     48area|z14-[amenity=~/school|kindergarten|university/]::note_remarks
    4749 {text-color: black;
    4850  font-size: 19;
     
    5254  z-index:4.0;}
    5355
    54   node|z12-[amenity]::fixme
     56node|z12-[amenity=~/school|kindergarten|university/]::fixme,
     57area|z12-[amenity=~/school|kindergarten|university/]::fixme
    5558 {text-color: pink;
    5659  font-size: 30;
     
    6164  z-index:2.0;}
    6265
    63 node|z18-[amenity]::district
     66node|z15-[amenity=~/school|kindergarten|university/]::district,
     67area|z15-[amenity=~/school|kindergarten|university/]::district
    6468  {text-color: red;
    6569  font-size: 12;
     
    7074  z-index:3.0;}
    7175
    72 node|z18-[amenity]::county
     76node|z15-[amenity=~/school|kindergarten|university/]::county,
     77area|z15-[amenity=~/school|kindergarten|university/]::county
    7378  {text-color: red;
    7479  font-size: 12;
     
    7984  z-index:3.0;}
    8085 
    81 node|z18-[amenity]::subcounty
     86node|z15-[amenity=~/school|kindergarten|university/]::subcounty,
     87area|z15-[amenity=~/school|kindergarten|university/]::subcounty
    8288  {text-color: red;
    8389  font-size: 12;
     
    8894  z-index:3.0;}
    8995 
    90 node|z18-[amenity]::city
     96node|z15-[amenity=~/school|kindergarten|university/]::city,
     97area|z15-[amenity=~/school|kindergarten|university/]::city
    9198  {text-color: red;
    9299  font-size: 12;
     
    97104  z-index:3.0;}
    98105 
    99 node|z18-[amenity]::parishORstreet
     106node|z15-[amenity=~/school|kindergarten|university/]::parishORstreet,
     107area|z15-[amenity=~/school|kindergarten|university/]::parishORstreet
    100108  {text-color: red;
    101109  font-size: 12;
     
    106114  z-index:3.0;}
    107115 
    108 node|z18-[amenity]::isced_level
     116node|z15-[amenity=~/school|kindergarten|university/]::isced_level,
     117area|z15-[amenity=~/school|kindergarten|university/]::isced_level
    109118  {text-color: cyan;
    110119  font-size: 18;
     
    114123  text-offset-y: -20;
    115124  z-index:3.0;}
    116  
    117 
    118 
    119125}}}