Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 1 | @charset "utf-8"; |
2 | @import "util"; | ||||
3 | |||||
Nils Diewald | 652e5f4 | 2015-05-10 18:11:45 +0000 | [diff] [blame] | 4 | /** |
5 | * Basic global CSS rules for Kalamar | ||||
6 | */ | ||||
7 | |||||
8 | body, | ||||
9 | html, | ||||
10 | select, | ||||
11 | g > text { | ||||
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 12 | color: $dark-grey; |
13 | font-family: verdana, tahoma, arial; | ||||
14 | margin: 0; | ||||
15 | } | ||||
16 | |||||
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 17 | * { |
18 | @include box-sizing-box; | ||||
19 | } | ||||
20 | |||||
Nils Diewald | ab4d3ca | 2015-04-17 01:48:43 +0000 | [diff] [blame] | 21 | g > text { |
22 | fill: $dark-grey; | ||||
23 | } | ||||
24 | |||||
Nils Diewald | 1c54692 | 2015-04-13 01:56:19 +0000 | [diff] [blame] | 25 | html { |
26 | height: 100%; | ||||
27 | } | ||||
28 | |||||
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 29 | body { |
Nils Diewald | 1c54692 | 2015-04-13 01:56:19 +0000 | [diff] [blame] | 30 | position: relative; |
31 | min-height: 100%; | ||||
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 32 | font-size: 12pt; |
33 | } | ||||
34 | |||||
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 35 | |
36 | a { | ||||
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 37 | &:link { |
38 | color: $dark-orange; | ||||
39 | text-decoration: none; | ||||
Nils Diewald | 1c54692 | 2015-04-13 01:56:19 +0000 | [diff] [blame] | 40 | &:hover { |
Nils Diewald | fccfbcb | 2015-04-29 20:48:19 +0000 | [diff] [blame] | 41 | color: $darkest-orange; |
Nils Diewald | 1c54692 | 2015-04-13 01:56:19 +0000 | [diff] [blame] | 42 | @include color-transition; |
43 | } | ||||
Nils Diewald | 9922edf | 2015-05-07 20:03:33 +0000 | [diff] [blame] | 44 | } |
Nils Diewald | 652e5f4 | 2015-05-10 18:11:45 +0000 | [diff] [blame] | 45 | |
Nils Diewald | 652e5f4 | 2015-05-10 18:11:45 +0000 | [diff] [blame] | 46 | // External links |
47 | &[href^="http://"]::after, | ||||
48 | &[href^="https://"]::after { | ||||
49 | font-family: FontAwesome; | ||||
50 | content: " " + $fa-extlink; | ||||
51 | font-size: 75%; | ||||
52 | } | ||||
53 | |||||
54 | // Link to documentation | ||||
55 | &.doc-link::after { | ||||
56 | font-family: FontAwesome; | ||||
57 | content: " " + $fa-tutorial; | ||||
58 | font-size: 75%; | ||||
59 | } | ||||
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 60 | } |
Nils Diewald | c46003b | 2015-05-07 15:55:35 +0000 | [diff] [blame] | 61 | |
Nils Diewald | 652e5f4 | 2015-05-10 18:11:45 +0000 | [diff] [blame] | 62 | // Styles for Mojolicious::Plugin::TagHelpers::MailToChiffre |
Nils Diewald | c46003b | 2015-05-07 15:55:35 +0000 | [diff] [blame] | 63 | a[onclick$='return PArok(this,false)'] { |
64 | direction:rtl; | ||||
65 | unicode-bidi:bidi-override; | ||||
Nils Diewald | 652e5f4 | 2015-05-10 18:11:45 +0000 | [diff] [blame] | 66 | text-align:left; |
67 | & > span { | ||||
68 | &:nth-child(1n+2){ | ||||
69 | display:none | ||||
70 | } | ||||
71 | &:nth-child(1)::after{ | ||||
72 | content:'@' | ||||
73 | } | ||||
74 | } | ||||
Nils Diewald | c46003b | 2015-05-07 15:55:35 +0000 | [diff] [blame] | 75 | } |