Source

moin-2.0 / MoinMoin / themes / modernized / static / css / stylus / main.styl

Full commit
   1
   2
   3
   4
   5
   6
   7
   8
   9
  10
  11
  12
  13
  14
  15
  16
  17
  18
  19
  20
  21
  22
  23
  24
  25
  26
  27
  28
  29
  30
  31
  32
  33
  34
  35
  36
  37
  38
  39
  40
  41
  42
  43
  44
  45
  46
  47
  48
  49
  50
  51
  52
  53
  54
  55
  56
  57
  58
  59
  60
  61
  62
  63
  64
  65
  66
  67
  68
  69
  70
  71
  72
  73
  74
  75
  76
  77
  78
  79
  80
  81
  82
  83
  84
  85
  86
  87
  88
  89
  90
  91
  92
  93
  94
  95
  96
  97
  98
  99
 100
 101
 102
 103
 104
 105
 106
 107
 108
 109
 110
 111
 112
 113
 114
 115
 116
 117
 118
 119
 120
 121
 122
 123
 124
 125
 126
 127
 128
 129
 130
 131
 132
 133
 134
 135
 136
 137
 138
 139
 140
 141
 142
 143
 144
 145
 146
 147
 148
 149
 150
 151
 152
 153
 154
 155
 156
 157
 158
 159
 160
 161
 162
 163
 164
 165
 166
 167
 168
 169
 170
 171
 172
 173
 174
 175
 176
 177
 178
 179
 180
 181
 182
 183
 184
 185
 186
 187
 188
 189
 190
 191
 192
 193
 194
 195
 196
 197
 198
 199
 200
 201
 202
 203
 204
 205
 206
 207
 208
 209
 210
 211
 212
 213
 214
 215
 216
 217
 218
 219
 220
 221
 222
 223
 224
 225
 226
 227
 228
 229
 230
 231
 232
 233
 234
 235
 236
 237
 238
 239
 240
 241
 242
 243
 244
 245
 246
 247
 248
 249
 250
 251
 252
 253
 254
 255
 256
 257
 258
 259
 260
 261
 262
 263
 264
 265
 266
 267
 268
 269
 270
 271
 272
 273
 274
 275
 276
 277
 278
 279
 280
 281
 282
 283
 284
 285
 286
 287
 288
 289
 290
 291
 292
 293
 294
 295
 296
 297
 298
 299
 300
 301
 302
 303
 304
 305
 306
 307
 308
 309
 310
 311
 312
 313
 314
 315
 316
 317
 318
 319
 320
 321
 322
 323
 324
 325
 326
 327
 328
 329
 330
 331
 332
 333
 334
 335
 336
 337
 338
 339
 340
 341
 342
 343
 344
 345
 346
 347
 348
 349
 350
 351
 352
 353
 354
 355
 356
 357
 358
 359
 360
 361
 362
 363
 364
 365
 366
 367
 368
 369
 370
 371
 372
 373
 374
 375
 376
 377
 378
 379
 380
 381
 382
 383
 384
 385
 386
 387
 388
 389
 390
 391
 392
 393
 394
 395
 396
 397
 398
 399
 400
 401
 402
 403
 404
 405
 406
 407
 408
 409
 410
 411
 412
 413
 414
 415
 416
 417
 418
 419
 420
 421
 422
 423
 424
 425
 426
 427
 428
 429
 430
 431
 432
 433
 434
 435
 436
 437
 438
 439
 440
 441
 442
 443
 444
 445
 446
 447
 448
 449
 450
 451
 452
 453
 454
 455
 456
 457
 458
 459
 460
 461
 462
 463
 464
 465
 466
 467
 468
 469
 470
 471
 472
 473
 474
 475
 476
 477
 478
 479
 480
 481
 482
 483
 484
 485
 486
 487
 488
 489
 490
 491
 492
 493
 494
 495
 496
 497
 498
 499
 500
 501
 502
 503
 504
 505
 506
 507
 508
 509
 510
 511
 512
 513
 514
 515
 516
 517
 518
 519
 520
 521
 522
 523
 524
 525
 526
 527
 528
 529
 530
 531
 532
 533
 534
 535
 536
 537
 538
 539
 540
 541
 542
 543
 544
 545
 546
 547
 548
 549
 550
 551
 552
 553
 554
 555
 556
 557
 558
 559
 560
 561
 562
 563
 564
 565
 566
 567
 568
 569
 570
 571
 572
 573
 574
 575
 576
 577
 578
 579
 580
 581
 582
 583
 584
 585
 586
 587
 588
 589
 590
 591
 592
 593
 594
 595
 596
 597
 598
 599
 600
 601
 602
 603
 604
 605
 606
 607
 608
 609
 610
 611
 612
 613
 614
 615
 616
 617
 618
 619
 620
 621
 622
 623
 624
 625
 626
 627
 628
 629
 630
 631
 632
 633
 634
 635
 636
 637
 638
 639
 640
 641
 642
 643
 644
 645
 646
 647
 648
 649
 650
 651
 652
 653
 654
 655
 656
 657
 658
 659
 660
 661
 662
 663
 664
 665
 666
 667
 668
 669
 670
 671
 672
 673
 674
 675
 676
 677
 678
 679
 680
 681
 682
 683
 684
 685
 686
 687
 688
 689
 690
 691
 692
 693
 694
 695
 696
 697
 698
 699
 700
 701
 702
 703
 704
 705
 706
 707
 708
 709
 710
 711
 712
 713
 714
 715
 716
 717
 718
 719
 720
 721
 722
 723
 724
 725
 726
 727
 728
 729
 730
 731
 732
 733
 734
 735
 736
 737
 738
 739
 740
 741
 742
 743
 744
 745
 746
 747
 748
 749
 750
 751
 752
 753
 754
 755
 756
 757
 758
 759
 760
 761
 762
 763
 764
 765
 766
 767
 768
 769
 770
 771
 772
 773
 774
 775
 776
 777
 778
 779
 780
 781
 782
 783
 784
 785
 786
 787
 788
 789
 790
 791
 792
 793
 794
 795
 796
 797
 798
 799
 800
 801
 802
 803
 804
 805
 806
 807
 808
 809
 810
 811
 812
 813
 814
 815
 816
 817
 818
 819
 820
 821
 822
 823
 824
 825
 826
 827
 828
 829
 830
 831
 832
 833
 834
 835
 836
 837
 838
 839
 840
 841
 842
 843
 844
 845
 846
 847
 848
 849
 850
 851
 852
 853
 854
 855
 856
 857
 858
 859
 860
 861
 862
 863
 864
 865
 866
 867
 868
 869
 870
 871
 872
 873
 874
 875
 876
 877
 878
 879
 880
 881
 882
 883
 884
 885
 886
 887
 888
 889
 890
 891
 892
 893
 894
 895
 896
 897
 898
 899
 900
 901
 902
 903
 904
 905
 906
 907
 908
 909
 910
 911
 912
 913
 914
 915
 916
 917
 918
 919
 920
 921
 922
 923
 924
 925
 926
 927
 928
 929
 930
 931
 932
 933
 934
 935
 936
 937
 938
 939
 940
 941
 942
 943
 944
 945
 946
 947
 948
 949
 950
 951
 952
 953
 954
 955
 956
 957
 958
 959
 960
 961
 962
 963
 964
 965
 966
 967
 968
 969
 970
 971
 972
 973
 974
 975
 976
 977
 978
 979
 980
 981
 982
 983
 984
 985
 986
 987
 988
 989
 990
 991
 992
 993
 994
 995
 996
 997
 998
 999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
//moin2 modernized theme css
// stylus bug - https://github.com/LearnBoost/stylus/issues/790
// do NOT end comment lines with colon until the bug is fixed

// includes comments with notice regarding automatically generated css and licensing
@import "notice.css"

// reset all browser-specific default to have common defaults everywhere
@import "reset.css"

// smileys used by moin wiki parser (and maybe others)
@import "smileys.css"

// admonitions used by moin wiki parser (and maybe others)
@import "admonitions"

// user styles used by moin wiki parser (and maybe others) like red/green/solid/dashed/comment...
@import "userstyles.css"

// color have been used from the color palette
@import "color_palette"

// mime type icons
@import "mime_type_icons"

// moin diff styling
@import "moin_diff"

// auto-generated by pygmentize -S default -f html >pygments_default.css
@import "pygments_default.css"

html
    color font_color
    font-family Helvetica, Arial, sans-serif

p
    margin 1em 0
    font-size 1em
    line-height 1.3em

sub
    vertical-align sub

sup
    vertical-align super

ins
    background-color inherit // needed for "/* __My Comment__ */"
    text-decoration underline

.moin-big
    font-size 1.17em

.moin-small
    font-size .83em

.moin-integer
    text-align right
    padding-right 1em
    width 2%

.moin-inline-label
    display inline

h1
    font-size 2em
    margin .67em 0
    border-bottom 5px solid border_color
    padding-bottom 5px

h2
    font-size 1.5em
    margin .75em 0
    padding-bottom 4px

h3
    font-size 1.17em
    margin .83em 0
    padding-bottom 3px

h4
    margin 1.12em 0
    padding-bottom 2px

h5
    font-size .83em
    margin 1.5em 0
    padding-bottom 2px

h6
    font-size .75em
    margin 1.67em 0
    padding-bottom 2px

h2,h3,h4,h5,h6
    border-bottom 3px solid border_color

a
    text-decoration none

a:link
    color link_color

a:visited
    color visited_color

a:hover
    color hover_color

a:active
    color active_color

a.moin-nonexistent:visited,
a.moin-nonexistent
    color nonexistent_link_color

ol, ul
    margin-left 3em

ol ol, ul ul, ol ul, ul ol
    margin-left 2em

li p
    margin .25em 0

ol.moin-upperalpha-list
    list-style-type upper-alpha

ol.moin-loweralpha-list
    list-style-type lower-alpha

ol.moin-upperroman-list
    list-style-type upper-roman

ol.moin-lowerroman-list
    list-style-type lower-roman

ul.moin-nobullet-list
    list-style-type none

ol, ul
    margin-top .5em
    margin-bottom .5em

li ol, li ul
    margin-top .25em

dt
    margin-top 0.5em
    font-weight bold

dd
    font-size .92em
    margin-left 40px
    margin-top 0
    margin-bottom 0

dd p
    margin 0.25em 0

dd + dd p
    margin-top .67em

hr
    height 1px
    background-color border_color
    border 0
    margin .9em 0

.moin-hr1
    height 2px

.moin-hr2
    height 3px

.moin-hr3
    height 5px

.moin-hr4
    height 7px

.moin-hr5
    height 9px

.moin-hr6
    height 12px

.moin-error
    color error_color
    background table_bg_color
    padding 4px

.moin-highlight
    background-color table_row_color
    padding 1px

pre
    border border_style
    background-color base_color
    padding 5px
    clear both
    font-family monospace
    margin .33em 0
    white-space pre-wrap

pre.comment
    background-color header_bg_color
    color heading_color
    padding 0
    margin 0
    border 0

pre.comment:before
    content url(../img/attention.png)

table
    margin 1%
    border-collapse collapse

th, td
    padding 0.3em 0.4em
    vertical-align middle
    text-align left

th
    border border_style
    background-color header_bg_color
    text-align center
    color table_row_color

td
    border border_style

td p
    margin 0
    padding 0

table.zebra
    border-collapse separate
    border-spacing 1px
    width 98%
    border border_style
    border-radius 6px

.zebra thead
    background-color header_bg_color

.zebra tfoot
    background-color base_color

.zebra td
    border none
    form
        input
            width 100%
            box-shadow none

.zebra tbody tr, .zebra > tr
    background-color table_bg_color

.zebra tbody tr:nth-child(odd), .zebra > tr:nth-child(odd)
    background-color table_row_color

div.moin-table-of-contents
    border border_style
    color font_color
    background page_color
    font-size 80%
    margin 0.5em 0 0.75em 1em
    padding 0.5em 0.75em 0.5em 0.5em
    text-indent -1em
    max-width 35%
    text-align left
    float right
    clear both
    box-shadow 3px 3px 6px shadow_color
    border-radius 15px

.moin-table-of-contents ol
    margin 0
    padding 0 0 0 .92em

.moin-table-of-contents li
    margin .12em 0 0 0
    padding 0
    list-style none

.moin-table-of-contents-heading
    font-weight bold
    padding 0
    margin 0 0 0.5em 1em
    letter-spacing 0.075em

.moin-showhide
    margin-left 10px

table.navigation
    background page_color
    float right
    margin 2px

.moin-footnote a,
.moin-footnotes sup a
    font-size .87em

.moin-footnotes
    border-top border_style
    margin 0 1em

.moin-footnotes p
    margin 0 0 .33em 1em
    font-size .92em

#moin-rev-navigation
    list-style none
    text-align center

#moin-rev-navigation li
    display inline

.moin-disabled
    color footer_color

.moin-rev-navigation-current
    font-size 1.5em
    text-transform uppercase

.moin-rev-navigation-older,
.moin-rev-navigation-newer
    padding 0 20px 0 20px

// create table
#moin-create-table
    width 95%
    margin-left auto
    margin-right auto
    border none
    tbody tr
            th
                text-align center
                background header_bg_color
                margin 2px
            td
                text-align center
                background page_color
                a
                    color link_color

// form
label
    display block
    font-weight bold

input[type="submit"],
input[type="button"],
button
    font-weight bold
    font-size .75em
    background base_color
    padding 4px 15px
    border border_style
    border-radius 6px
    box-shadow 1px 1px 2px shadow_color
    cursor pointer
    &:hover
        box-shadow 1px 1px 2px font_color
    &:active
        position relative
        top 1px

input,
select
    padding 3px
    background page_color
    border border_style
    border-radius 2px
input[type="text"]
    width 96%
input.blank
    border-color border_color
    border-width 2px

.moin-form
    dd
        float left
        width 70%
        margin-bottom 1em
        margin-left 0
        input
            width 75%
    dt
        clear both
        float left
        width 25%
        text-align right
        margin-top .3em
        padding-right 1%
        label
            &.required:after
                content '*'
                color font_color
    button,
    input[type="submit"]
        clear both
        display table
        margin auto

form[name="delete_item"], form[name="rename_item"], form[name="destroy_item"]
    dd
        input
            width 100%
    dt
        width 20%

#moin-modify
    dd
        width 100%
        float none
        input
            width 99%
    dt
        width auto
        text-align left
    textarea
        width 99.5%
    input[type="submit"]
        margin-left 0

.moin-textcha
    padding-top .2em

#options
    dd
        float none
        width 38%
        display table-cell
        padding 1.2em
    dt
        margin-left 10%
        text-align left
        width 61%
        margin-top 1.3em

.moin-tabs .moin-tab-titles
    a
        color link_color

.moin-tab-titles
    margin 0
    padding -10px 0 0
    list-style none
    border-bottom 3px solid border_color

.moin-tab-titles li
    display inline-block
    *display: inline; // IE7 hack to display title tabs in a row ...
    zoom: 1; // IE7 hack ... rather than a column
    margin 10px 0 -3px
    padding 0 5px
    border-bottom 3px solid border_color

.moin-tab-titles a
    display inline-block
    padding 4px
    background-color table_bg_color
    border-width 1px 1px 0
    border-style solid
    border-color border_color
    color link_color
    border-top-left-radius 7px
    border-top-right-radius 7px

.moin-tab-titles a:hover
    background-color table_row_color
    text-decoration none

.moin-tab-titles a.moin-current-tab
    background table_row_color
    padding-top 8px
    margin-top -4px

.moin-tab-titles .moin-change-indicator
    font-weight bold
    color hover_color

.moin-current-form h2
    display none // bold tab at top of user setting page makes h2 redundant

.moin-settings-head a
    color font_color
    text-decoration none

.searchresults dt
    margin-top 1em
    font-weight normal

.searchresults dd,
.searchresults p
    font-size 0.85em

.searchresults td
    border-width 0

.searchresults p.info
    margin-left 2%

.searchresults .searchhitinfobar
    margin-left 15px
    margin-top 0

.searchresults .foundtext
    margin-left 15px
    margin-top 0

p.searchstats
    font-size 0.8em
    text-align right
    width 100%
    padding 2px

p.searchhint
    background-color table_bg_color
    border border_style
    padding 2px

.searchpages
    margin-left auto
    margin-right auto

.searchpages tr,
.searchpages td
    border 0
    padding 5px
    margin 0
    text-align center
    vertical-align middle
    color font_color
    font-weight bold
    font-size 1.05em

.searchpages td a,
.searchpages td a:link
    text-decoration underline

#f_data_text
    border border_style
    font-family monospace
    margin .33em 0
    padding 3px
    width 100%

#f_comment,
#f_summary,
#f_textcha
    border border_style
    display inline
    margin .33em 0
    padding 3px
    width 99%

#moin-editor-help
    font-size small
    background-color table_bg_color

#preview
    border border_style
    padding 10px 30px 20px 30px
    background url(../img/draft.png)
    margin-top 0.5em

.moin-hist-rev input
    float left

.moin-hist-rev
    margin 0

#moin-global-history,
#moin-page-history
    font-size 75%

#moin-page-history
    table
        border border_style
        border-radius 5px
        thead
            border-top-left-radius 5px
            border-top-right-radius 5px
            tr th
                    text-align center
                    input[type="Submit"]
                        padding 4px 10px
                        box-shadow 1px 1px 2px shadow_color
                        cursor pointer
                        font-size 1em
                        &:hover
                            box-shadow 1px 1px 2px font_color


.moin-wordbreak
    word-break break-all
    word-wrap break-word

.moin-history-time
    width 10%

.moin-history-contenttype
    width 18%

.moin-history-editorinfo
    width 17%

.moin-history-comment
    width 30%

.moin-action
    width 2%

.moin-action a:hover
    text-decoration none

.moin-history-container
    border border_style
    margin 2em 2em
    border-top-left-radius 5px
    border-top-right-radius 5px

.moin-history-container-header
    background header_bg_color
    margin 0px
    padding 4px
    color heading_color
    border-bottom border_style
    border-top-left-radius 5px
    border-top-right-radius 5px
    h2
        display inline
        border none
    a.bookmark-link
        margin-left 10px
        color heading_color

.moin-history-container-body
    margin 0
    padding 0
    font-size 1.2em
    table
        margin 0
        border none
        width 100%

.moin-history-save:before
    content url('../img/moin-edit.png')

.moin-history-trash:before
    content url('../img/moin-deleted.png')

.moin-history-rename:before
    content url('../img/moin-renamed.png')

.moin-history-copy:before
    content url('../img/moin-new.png')

.moin-history-links
    width 5%

.moin-history-links a
    display block
    margin-bottom 4px

.moin-history-editortext,
.moin-history-links span,
.moin-history-comment span
    color font_color
    display block
    margin-bottom 5px

.moin-offset-links
    float right
    margin-right 20px

.moin-offset-links a
    margin-right 10px
    padding 3px 7px
    font-size 20px
    background page_color
    border 1px groove border_color
    border-radius 5px

.moin-offset-links a:hover
    box-shadow 0px 0px 12px shadow_color

.moin-clr
    clear both

.moin-select-all
    padding 0.5em
    color link_color
    background table_bg_color
    border border_style
    text-align left

.moin-select-actions
    position relative
    margin 0 1em
    padding 0
    background table_bg_color
    z-index 2
    white-space nowrap
    color link_color
    text-align left

.moin-select-actions div
    margin 0
    padding 0.5em
    border 1px groove border_color

.moin-select-actions
    &div:hover
        background table_row_color
        color hover_color
    &.action-visible div
        color font_color

.moin-select-actions .show-action
    cursor pointer
    &:hover
        color hover_color

.show-action:after
    content url("../img/moin-moveup.png")
    margin 0 0.2em

.action-visible .show-action:after
    content url("../img/moin-movedown.png")
    margin 0 0.2em

.moin-select-allitem
    display inline-block
    cursor default
    text-align left

.allitem-selected:after
    content url("../img/moin-checkbox-on.png")
    margin 0 0.2em

.allitem-toselect:after
    content url("../img/moin-checkbox-off.png")
    margin 0 0.2em

.moin-select-actions ul
    position absolute
    float right
    left 0
    background page_color
    border border_style
    z-index 1
    display none

.moin-select-actions ul li
    display list-item
    list-style-type none
    padding 0.5em
    width 5em
    cursor pointer

.moin-select-actions ul li:hover
    background-color table_bg_color
    color link_color

.moin-index-message
    width 50%
    margin 1em auto
    text-align center
    display none

.moin-index-message span
    padding 4px
    background-color table_row_color
    color font_color

.moin-download-link
    display none

#moin-initials
    width 90%
    margin 5px auto
    text-align center

#moin-initials a
    display inline-block
    margin 0
    padding 4px 5px

#moin-initials a:hover,
#moin-initials a.selected
    background link_color
    border-radius 5px
    color heading_color
    text-decoration none

.moin-item-index
    width 99%
    margin-left 0.5%

.moin-item-index div
    float left
    width 15em

.moin-item-index div .moin-select-item
    visibility hidden
    display inline-block
    width 17px
    cursor default
    background transparent url("../img/moin-checkbox-off.png") no-repeat

.moin-item-index div.selected-item .moin-select-item,
.moin-item-index div:hover .moin-select-item
    visibility visible

.moin-item-index div.selected-item .moin-select-item
    background-image url("../img/moin-checkbox-on.png")

.moin-align-right
    text-align right
    float right

.moin-align-right ul
    margin 0
    padding 0

.moin-align-right ul li.action-bar
    list-style-type none
    display inline-block
    *display: inline; // IE7 hack to display index action bar in a row ...
    zoom: 1; // IE7 hack ... rather than a column

.moin-contenttypes-wrapper
    position relative
    margin 0
    color link_color
    background table_bg_color
    border border_style
    min-width 12em
    text-align left

.moin-contenttypes-wrapper div
    cursor pointer
    margin 0.1em
    padding 0.5em 1.2em 0.5em 0.5em
    height 1em

div.ct-shown
    background table_row_color url("../img/moin-movedown.png") no-repeat center right
    color font_color

div.ct-hide
    background transparent url("../img/moin-moveup.png") no-repeat center right

.moin-contenttypes-wrapper form
    position absolute
    float right
    max-width 12.5em
    border-top border_style
    z-index 2
    background page_color
    border border_style
    padding .2em
    display none

.moin-contenttypes-wrapper ul li
    list-style-type none
    padding 0.3em
    min-width 11.5em

.moin-contenttypes-wrapper ul li label
    display inline
    vertical-align middle

.moin-contenttypes-wrapper ul li .helper-text
    font-size 0.7em
    color footer_color
    display block

.moin-contenttypes-wrapper ul li:hover
    background table_bg_color

.moin-contenttypes-wrapper ul li:hover .helper-text
    display block

.moin-contenttypes-wrapper ul li a
    font-size 80%

.moin-contenttypes-wrapper form input[type="submit"]
    margin-left 22%
    padding-left 20%
    padding-right 20%

.moin-contenttypes-wrapper:hover div
    background-color table_row_color
    color hover_color

.filter-toggle
    margin 0 0.2em
    font-size 90%

.moin-more-index
    background transparent url("../img/moin-expand.png") no-repeat
    display inline-block
    width 20px

.moin-more-index:hover
    text-decoration none

.moin-index-path
    margin-left 0.5em

.moin-index-path:before
    content url("../img/moin-parent.png")
    margin 0 0.3em

.moin-path-separator
    font-size 120%
    color link_color

.moin-index-separator
    clear both
    border-top border_style
    width 99%
    margin-left .5%
    display none

.moin-transclusion
    max-width 100%

#moin-upload-cont
    min-height 10px

#file_upload
    margin-top 2em

form.upload_file
    background-color header_bg_color
    border 1px solid border_color
    color panel_item_color
    cursor pointer
    direction ltr
    font-weight bold
    height 2.5em
    line-height 2.5em
    overflow hidden
    position relative
    text-align center
    width 15em
    box-shadow 0px 0px 5px header_bg_color

form.upload_file:hover
    color heading_color

form.upload_file input
    -moz-transform translate(-800px, 0pt) scale(10)
    border 300px solid transparent
    cursor pointer
    height 100%
    margin 0
    opacity 0
    position absolute
    right 0
    top 0

form.upload_file input
    height auto

form.upload_file button
    display none

form.upload_file
    display block

.file_upload_template .file_upload_start
    visibility hidden
    border-width 0px
    padding 0px

.file_upload_template .file_upload_start button
    width 0px

.upload-form
    display none

.moin-drag
    font-size 0.7em
    color footer_color

a.moin-conflict:before
    content url(../img/moin-conflict.png)
    margin 0 0.2em

#popup
    background transparent url("../img/moin-transparent-bg.png") repeat
    padding 5px
    width 40%
    position absolute
    top 10%
    left 30%
    display none
    z-index 10

.popup-header
    background-color header_bg_color
    color heading_color
    font-size 1em
    padding 10px
    margin 0

.popup-closer
    color heading_color
    font-size 1em
    padding 1px 4px
    margin 0
    float right
    cursor pointer
    border border_style

.popup-closer:hover
    background-color hover_color
    color panel_item_color

.popup-body
    clear both
    background-color page_color
    color font_color
    padding 10px
    margin 0

.popup-body label
    margin 5px
    display block
    font-weight bold

.popup-body input
    margin 8px 5px
    padding 3px
    border border_style

.popup-body input[type="text"]
    width 300px

.popup-body input.blank
    border-color border_color
    border-width 2px

.popup-container
    margin 0

#lightbox
    background page_color
    opacity 0.7
    filter alpha
    position absolute
    left 0
    top 0
    width 100%
    height 100%
    z-index 9
    margin 0
    display none

ul.moin-tags
    list-style none

ul.moin-tags li
    display inline

ul.moin-tags li.weight0
    font-size 50%

ul.moin-tags li.weight1
    font-size 65%

ul.moin-tags li.weight2
    font-size 80%

ul.moin-tags li.weight3
    font-size 90%

ul.moin-tags li.weight4
    font-size 100%

ul.moin-tags li.weight5
    font-size 120%

ul.moin-tags li.weight6
    font-size 140%

ul.moin-tags li.weight7
    font-size 160%

ul.moin-tags li.weight8
    font-size 180%

ul.moin-tags li.weight9
    font-size 200%

#moin-flash
    margin -2px -15px -2px -14px

.moin-flash
    margin 0
    padding 6px 6px 6px 38px
    background-color table_row_color
    border-bottom border_style
    background-repeat no-repeat
    background-position 16px center
    border-top-right-radius 9px
    border-top-left-radius 9px
    color font_color

.moin-flash-hint
    background-image url(../img/smileys/idea.png)

.moin-flash-info
    background-image url(../img/smileys/icon-info.png)

.moin-flash-warning
    background-image url(../img/smileys/alert.png)
    color error_color

.moin-flash-error
    background-image url(../img/smileys/icon-error.png)
    color error_color

body
    background-color base_color
    background url(../img/base.png)

#moin-main-wrapper
    width 87%
    min-width 700px
    margin-left auto
    margin-right auto
    margin-top 0px

#moin-page
    padding 1px
    display table
    width 100%
    background page_color
    border-radius 9px

#moin-content
    padding .2em 1em
    display table-cell

a:link
    color link_color
    text-decoration none

a:visited
    text-decoration none
    color visited_color

a:visited:hover
    text-decoration none
    color hover_color

a:hover,
a:active
    text-decoration underline
    color hover_color

a.moin-nonexistent:link
    color nonexistent_link_color

a.moin-nonexistent:hover
    color hover_color
    text-decoration underline

.current-link
    color inherit !important

#moin-header
    margin 0px
    padding 7px 0px 10px 0px
    background header_bg_color
    color heading_color
    line-height 1.12em
    border-bottom-left-radius 9px
    border-bottom-right-radius 9px

#moin-searchform
    margin 8px .5em
    padding 0
    font-size 0.82em
    float right
    text-align right
    width 15em

#moin-searchform input
    font-size 100%
    vertical-align middle
    background-color page_color
    border border_style

#moin-searchform #moin-search-submit
    text-indent -9000%
    margin-left -26px
    width 20px
    height 16px
    background url(../img/moin-search.png) center center no-repeat
    background-size 16px 16px
    border none
    overflow hidden
    vertical-align middle
    cursor pointer
    padding 0px
    box-shadow none

#moin-searchform #moin-search-query
    padding-right 20px

#moin-searchform div
    margin -6px 5px 0px 0px

#moin-long-searchform
    padding 0
    font-size 0.82em
    text-align left

#moin-long-searchform div
    margin 0

#moin-search-query
    width 50%

#moin-logo
    float left
    margin 2px 10px
    padding 0
    font-size 1.4em
    line-height 1em
    font-weight bold

#moin-logo img
    vertical-align middle

#moin-logo a
    color heading_color
    text-decoration none

#moin-username
    display block
    margin 0px 12px 4px 12px
    padding 0
    font-size 0.82em
    a
        color heading_color

#moin-username input:hover
    color hover_color

#moin-locationline
    padding 0
    font-size 100%
    font-weight normal
    margin 0.3em .75em .3em .75em

#moin-interwiki
    a
        color heading_color

#moin-pagelocation
    font-size 1.5em
    letter-spacing 0.05em
    vertical-align middle

#moin-pagetrail
    margin 0 0.88em 0.25em .75em
    padding 0
    font-size 0.88em
    a
        color heading_color

.moin-pagepath
    a
        color heading_color !important

#moin-navibar
    clear both
    display block
    margin 0
    padding 0 10px
    font-size 0.82em
    color visited_color

#moin-navibar li
    float left
    display inline
    margin 0 2px
    padding 2px 5px
    border border_style
    border-bottom none
    white-space nowrap
    font-size .88em
    border-top-left-radius 5px
    border-top-right-radius 5px

#moin-navibar li.wikilink
    background table_bg_color

#moin-navibar li.userlink
    background table_bg_color

#moin-navibar a,
#moin-navibar a:visited
    color font_color
    text-decoration none

#moin-navibar li:hover
    background table_row_color

#moin-pageline
    clear both
    margin 4px 10px
    padding 0
    width auto
    height 1px
    border-bottom 1px solid heading_color
    border-top 1px solid heading_color
    background heading_color

.moin-itemviews
    clear both
    display block
    margin 0px 0px -6px 0px
    padding 2px 8px
    background panel_color
    font-size 0.8em
    border-radius 9px
    color selected_link_color

.moin-itemviews li
    display inline-block
    *display: inline; // IE7 hack to display itemviews in a row ...
    zoom: 1; // IE7 hack ... rather than a column
    padding 0
    margin 4px 6px
    line-height 1em

.moin-itemviews a,
.moin-itemviews a:visited
    color panel_item_color
    &:hover
        color heading_color

.moin-itemviews a:hover
    text-decoration underline

.moin-itemviews form,
.moin-itemviews form div
    display inline
    margin 0

.moin-itemviews select
    font-size 100%
    vertical-align middle

.moin-subitem-navigation
    padding .9em
    background table_row_color
    margin 0
    vertical-align top
    font-size 0.8em
    width 15%
    overflow hidden
    display table-cell
    word-wrap break-word
    border-radius 9px

.moin-subitem-navigation .list-header
    margin 2px 0
    padding 0
    font-size 1.1em

.moin-subitem-navigation .sep
    font-size 1.2em
    margin-left 0px

.moin-subitem-navigation ul
    display block
    margin 0
    padding 0 4px

.moin-subitem-navigation li
    padding 0.5em 2px
    line-height 1em
    list-style none

.moin-subitem-navigation li:hover
    background table_bg_color

.moin-subitem-navigation a
    color link_color

.moin-subitem-navigation a:hover
    text-decoration underline

.moin-subitem-navigation li ul
    border-left 1px dotted border_color
    display none

.moin-subitem-navigation .expander
    background url(../img/moin-expand.png) no-repeat center center
    cursor pointer
    height 16px
    overflow hidden
    vertical-align middle
    width 16px
    border hidden
    text-indent -9000%

.link-action,
.transclude-action
    border hidden
    text-indent -9000%
    padding 0
    margin 0 -2px
    vertical-align middle
    height 16px
    width 16px
    overflow hidden
    cursor pointer
    box-shadow none

.moin-subitem-navigation .link-action
    background url(../img/moin-link.png) no-repeat center center

.moin-subitem-navigation .transclude-action
    background url(../img/moin-transclusion.png) no-repeat center center

#moin-footer
    clear both
    margin 0 0

#moin-footer hr
    margin 0
    background-color border_color

#moin-pageinfo,
#moin-wikilicense,
#moin-credits,
#moin-version,
#moin-timings
    margin 10px 20px
    text-align left
    font-size 0.7em
    color footer_color
    a
        color footer_color

#moin-pageinfo
    margin-top 20px

#moin-timings li
    display inline-block
    *display: inline; // IE7 hack to display timings in a row ...
    zoom: 1; // IE7 hack ... rather than a column
    margin 0 20px 0 0

#moin-credits span
    display inline-block
    margin 0 5px

#moin-creditlogos
    float right
    list-style none
    margin 5px 10px

#moin-creditlogos li
    display inline-block
    *display: inline; // IE7 hack to display credit logos in a row ...
    zoom: 1; // IE7 hack ... rather than a column
    margin 10px 0 10px 10px

.moin-item-wrapper
    position relative
    display inline-block

div.moin-item-wrapper
    width 100% // force bottom border of transcluded headings to extend across entire page

.moin-item-wrapper > a:hover
    color hover_color
    text-decoration none

a.moin-item-overlay-ul,
a.moin-item-overlay-lr
    display none
    position absolute
    color transparent
    background-color transparent
    font-size 120%
    font-weight bold
    margin 0
    opacity .5
    filter alpha
    padding 1px
    border-color blue
    border-style double

.moin-item-overlay-ul
    top -4px
    left -4px
    border-width 3px 0 0 3px

.moin-item-overlay-lr
    bottom -4px
    right -4px
    border-width 0 3px 3px 0

.moin-item-overlay-ul:hover,
.moin-item-overlay-lr:hover
    opacity .8
    filter alpha
    background-color table_bg_color
    color hover_color

div.moin-item-wrapper,
div.moin-item-wrapper > div,
div.moin-item-wrapper > div > p:first-child,
div.moin-item-wrapper > div > p:last-child
    margin 0px

div.moin-item-wrapper > div >  p:first-child ~ p:last-child
    margin-top 1em

// headings with mouseover permalinks
a.moin-permalink
    display none
    cursor pointer
    margin-left .1em
    color nonexistent_link_color
    &:hover.moin-permalink
        color nonexistent_hover_color

h1:hover .moin-permalink,
h2:hover .moin-permalink,
h3:hover .moin-permalink,
h4:hover .moin-permalink,
h5:hover .moin-permalink,
h6:hover .moin-permalink
    display inline
    text-decoration none

@media print
    html
        font-family serif
        font-size 12pt
        width 100%

    body, #moin-page, #moin-page, #moin-content-data
        margin 0
        padding 0

    a, a:visited,
    a.moin-nonexistent
        color nonexistent_link_color
        text-decoration none

    a.moin-interwiki:before
        content attr(title) ":"

    a.moin-interwiki img
        display none

    pre
        font-size 10pt

    div.moin-table-of-contents
        box-shadow none

    a.moin-permalink, a.moin-showhide,
    #moin-header, #moin-sidebar, #moin-footer, #moin-timings, #moin-credits, #moin-interwiki,
    #moin-pagelocation
        display none

    #moin-pageinfo
        color footer_color
        font-size .67em
        float right

    #moin-pageinfo a
        color footer_color

    .moin-subitem-navigation
        display none

@media projection
    html
        line-height 1.8em

    body, b, em, a, span, div, p, td
        font-size 18pt

    h1
        font-size 26pt

    h2
        font-size 22pt

    h3
        font-size 20pt

    h4
        font-size 18pt

    h5
        font-size 16pt

    h6
        font-size 14pt

    tt, pre
        font-size 16pt

    sup, sub
        font-size 12pt

    table.navigation
        float right
        margin 2px

    .navigation td, .navigation a
        font-size 10pt
        padding 2px

    #moin-header, #moin-sidebar, #moin-footer, #moin-timings, #moin-credits, #moin-interwiki,
    #moin-pagelocation, #moin-pageinfo
        display none