blob: 13cec6fed6b2d7a998c5dd074b868059da5741c4 [file] [log] [blame]
Nils Diewalda944fab2015-04-08 21:02:04 +00001@charset "utf-8";
2@import "util";
3
Nils Diewald652e5f42015-05-10 18:11:45 +00004/**
5 * Basic global CSS rules for Kalamar
6 */
7
8body,
9html,
10select,
11g > text {
Nils Diewalda944fab2015-04-08 21:02:04 +000012 color: $dark-grey;
13 font-family: verdana, tahoma, arial;
14 margin: 0;
15}
16
Nils Diewalda944fab2015-04-08 21:02:04 +000017* {
18 @include box-sizing-box;
19}
20
Nils Diewaldab4d3ca2015-04-17 01:48:43 +000021g > text {
22 fill: $dark-grey;
23}
24
Nils Diewald1c546922015-04-13 01:56:19 +000025html {
26 height: 100%;
27}
28
Nils Diewalda944fab2015-04-08 21:02:04 +000029body {
Nils Diewald1c546922015-04-13 01:56:19 +000030 position: relative;
31 min-height: 100%;
Nils Diewalda944fab2015-04-08 21:02:04 +000032 font-size: 12pt;
33}
34
Nils Diewalda944fab2015-04-08 21:02:04 +000035
36a {
Nils Diewalda944fab2015-04-08 21:02:04 +000037 &:link {
38 color: $dark-orange;
39 text-decoration: none;
Nils Diewald1c546922015-04-13 01:56:19 +000040 &:hover {
Nils Diewaldfccfbcb2015-04-29 20:48:19 +000041 color: $darkest-orange;
Nils Diewald1c546922015-04-13 01:56:19 +000042 @include color-transition;
43 }
Nils Diewald9922edf2015-05-07 20:03:33 +000044 }
Nils Diewald652e5f42015-05-10 18:11:45 +000045
46 // Visited links
Nils Diewald9922edf2015-05-07 20:03:33 +000047 &:visited {
48 color: $darkest-orange;
Nils Diewalda944fab2015-04-08 21:02:04 +000049 }
Nils Diewald652e5f42015-05-10 18:11:45 +000050
51 // External links
52 &[href^="http://"]::after,
53 &[href^="https://"]::after {
54 font-family: FontAwesome;
55 content: " " + $fa-extlink;
56 font-size: 75%;
57 }
58
59 // Link to documentation
60 &.doc-link::after {
61 font-family: FontAwesome;
62 content: " " + $fa-tutorial;
63 font-size: 75%;
64 }
Nils Diewalda944fab2015-04-08 21:02:04 +000065}
Nils Diewaldc46003b2015-05-07 15:55:35 +000066
Nils Diewald652e5f42015-05-10 18:11:45 +000067// Styles for Mojolicious::Plugin::TagHelpers::MailToChiffre
Nils Diewaldc46003b2015-05-07 15:55:35 +000068a[onclick$='return PArok(this,false)'] {
69 direction:rtl;
70 unicode-bidi:bidi-override;
Nils Diewald652e5f42015-05-10 18:11:45 +000071 text-align:left;
72 & > span {
73 &:nth-child(1n+2){
74 display:none
75 }
76 &:nth-child(1)::after{
77 content:'@'
78 }
79 }
Nils Diewaldc46003b2015-05-07 15:55:35 +000080}