blob: cbdc37719f931f38d62e210313b2598e962a512e [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
Akron308db382016-05-30 22:34:07 +020021/*
22html {
23// @include box-sizing-box;
24 box-sizing: border-box;
25}
26
27*, *:before, *:after {
28 box-sizing: inherit;
29}
30*/
31
Nils Diewaldab4d3ca2015-04-17 01:48:43 +000032g > text {
33 fill: $dark-grey;
34}
35
Nils Diewald1c546922015-04-13 01:56:19 +000036html {
37 height: 100%;
38}
39
Nils Diewalda944fab2015-04-08 21:02:04 +000040body {
Nils Diewald1c546922015-04-13 01:56:19 +000041 position: relative;
42 min-height: 100%;
Nils Diewalda944fab2015-04-08 21:02:04 +000043 font-size: 12pt;
44}
45
Nils Diewalda944fab2015-04-08 21:02:04 +000046
47a {
Akronb917a7c2015-07-02 11:02:42 +020048 &:link {
Nils Diewalda944fab2015-04-08 21:02:04 +000049 color: $dark-orange;
50 text-decoration: none;
Nils Diewald1c546922015-04-13 01:56:19 +000051 &:hover {
Nils Diewaldfccfbcb2015-04-29 20:48:19 +000052 color: $darkest-orange;
Nils Diewald1c546922015-04-13 01:56:19 +000053 @include color-transition;
54 }
Nils Diewald9922edf2015-05-07 20:03:33 +000055 }
Nils Diewald652e5f42015-05-10 18:11:45 +000056
Nils Diewald652e5f42015-05-10 18:11:45 +000057 // External links
58 &[href^="http://"]::after,
59 &[href^="https://"]::after {
60 font-family: FontAwesome;
61 content: " " + $fa-extlink;
62 font-size: 75%;
63 }
64
65 // Link to documentation
66 &.doc-link::after {
67 font-family: FontAwesome;
68 content: " " + $fa-tutorial;
69 font-size: 75%;
70 }
Nils Diewalda944fab2015-04-08 21:02:04 +000071}
Nils Diewaldc46003b2015-05-07 15:55:35 +000072
Nils Diewald652e5f42015-05-10 18:11:45 +000073// Styles for Mojolicious::Plugin::TagHelpers::MailToChiffre
Nils Diewaldc46003b2015-05-07 15:55:35 +000074a[onclick$='return PArok(this,false)'] {
75 direction:rtl;
76 unicode-bidi:bidi-override;
Nils Diewald652e5f42015-05-10 18:11:45 +000077 text-align:left;
78 & > span {
79 &:nth-child(1n+2){
80 display:none
81 }
82 &:nth-child(1)::after{
83 content:'@'
84 }
85 }
Nils Diewaldc46003b2015-05-07 15:55:35 +000086}