locker_kit 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (149) hide show
  1. checksums.yaml +7 -0
  2. data/MIT-LICENSE +20 -0
  3. data/Rakefile +37 -0
  4. data/app/assets/javascripts/locker_kit/application.js +13 -0
  5. data/app/assets/stylesheets/locker_kit.scss +26 -0
  6. data/app/assets/stylesheets/locker_kit/application.css +15 -0
  7. data/app/assets/stylesheets/locker_kit/base/_config.scss +58 -0
  8. data/app/assets/stylesheets/locker_kit/base/_forms.scss +42 -0
  9. data/app/assets/stylesheets/locker_kit/base/_links.scss +13 -0
  10. data/app/assets/stylesheets/locker_kit/base/_mixins.scss +34 -0
  11. data/app/assets/stylesheets/locker_kit/base/_normalize.scss +396 -0
  12. data/app/assets/stylesheets/locker_kit/base/_print.scss +95 -0
  13. data/app/assets/stylesheets/locker_kit/base/_type.scss +87 -0
  14. data/app/assets/stylesheets/locker_kit/base/_utilities.scss +24 -0
  15. data/app/assets/stylesheets/locker_kit/base/body_styles.scss +16 -0
  16. data/app/assets/stylesheets/locker_kit/components/_navbar.scss +37 -0
  17. data/app/assets/stylesheets/locker_kit/components/_ui-card.scss +16 -0
  18. data/app/assets/stylesheets/locker_kit/components/_well.scss +34 -0
  19. data/app/assets/stylesheets/locker_kit/components/_widget.scss +19 -0
  20. data/app/assets/stylesheets/locker_kit/layouts/base.scss +34 -0
  21. data/app/assets/stylesheets/locker_kit/pygments.scss +68 -0
  22. data/app/assets/stylesheets/locker_kit/styleguide.scss +88 -0
  23. data/app/controllers/locker_kit/application_controller.rb +6 -0
  24. data/app/controllers/locker_kit/styleguide/base_controller.rb +10 -0
  25. data/app/controllers/locker_kit/styleguide/components_controller.rb +7 -0
  26. data/app/controllers/locker_kit/styleguide/layouts_controller.rb +8 -0
  27. data/app/helpers/locker_kit/application_helper.rb +11 -0
  28. data/app/views/layouts/locker_kit/_header.html.erb +7 -0
  29. data/app/views/layouts/locker_kit/_side_nav.html.erb +19 -0
  30. data/app/views/layouts/locker_kit/_top_nav_bar.html.erb +10 -0
  31. data/app/views/layouts/locker_kit/application.html.erb +17 -0
  32. data/app/views/layouts/locker_kit/layout_examples.html.erb +23 -0
  33. data/app/views/locker_kit/styleguide/base/body_copy.html.erb +101 -0
  34. data/app/views/locker_kit/styleguide/base/colors.html.erb +17 -0
  35. data/app/views/locker_kit/styleguide/base/forms.html.erb +55 -0
  36. data/app/views/locker_kit/styleguide/base/headings.html.erb +25 -0
  37. data/app/views/locker_kit/styleguide/base/links.html.erb +13 -0
  38. data/app/views/locker_kit/styleguide/base/lists.html.erb +44 -0
  39. data/app/views/locker_kit/styleguide/components/navbar.html.erb +50 -0
  40. data/app/views/locker_kit/styleguide/components/well.html.erb +59 -0
  41. data/app/views/locker_kit/styleguide/layouts/centered_small.html.erb +39 -0
  42. data/app/views/locker_kit/styleguide/layouts/locker.html.erb +52 -0
  43. data/config/routes.rb +28 -0
  44. data/lib/locker_kit.rb +4 -0
  45. data/lib/locker_kit/engine.rb +13 -0
  46. data/lib/locker_kit/version.rb +3 -0
  47. data/lib/tasks/locker_kit_tasks.rake +4 -0
  48. data/test/dummy/README.rdoc +28 -0
  49. data/test/dummy/Rakefile +6 -0
  50. data/test/dummy/app/assets/javascripts/application.js +13 -0
  51. data/test/dummy/app/assets/stylesheets/application.css +15 -0
  52. data/test/dummy/app/assets/stylesheets/styleguide.scss +0 -0
  53. data/test/dummy/app/controllers/application_controller.rb +5 -0
  54. data/test/dummy/app/helpers/application_helper.rb +2 -0
  55. data/test/dummy/app/views/layouts/application.html.erb +14 -0
  56. data/test/dummy/bin/bundle +3 -0
  57. data/test/dummy/bin/rails +4 -0
  58. data/test/dummy/bin/rake +4 -0
  59. data/test/dummy/bin/setup +29 -0
  60. data/test/dummy/config.ru +4 -0
  61. data/test/dummy/config/application.rb +26 -0
  62. data/test/dummy/config/boot.rb +5 -0
  63. data/test/dummy/config/database.yml +25 -0
  64. data/test/dummy/config/environment.rb +5 -0
  65. data/test/dummy/config/environments/development.rb +41 -0
  66. data/test/dummy/config/environments/production.rb +77 -0
  67. data/test/dummy/config/environments/test.rb +42 -0
  68. data/test/dummy/config/initializers/assets.rb +11 -0
  69. data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
  70. data/test/dummy/config/initializers/cookies_serializer.rb +3 -0
  71. data/test/dummy/config/initializers/filter_parameter_logging.rb +4 -0
  72. data/test/dummy/config/initializers/inflections.rb +16 -0
  73. data/test/dummy/config/initializers/mime_types.rb +4 -0
  74. data/test/dummy/config/initializers/session_store.rb +3 -0
  75. data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
  76. data/test/dummy/config/locales/en.yml +23 -0
  77. data/test/dummy/config/routes.rb +4 -0
  78. data/test/dummy/config/secrets.yml +22 -0
  79. data/test/dummy/db/development.sqlite3 +0 -0
  80. data/test/dummy/db/test.sqlite3 +0 -0
  81. data/test/dummy/log/development.log +34011 -0
  82. data/test/dummy/public/404.html +67 -0
  83. data/test/dummy/public/422.html +67 -0
  84. data/test/dummy/public/500.html +66 -0
  85. data/test/dummy/public/favicon.ico +0 -0
  86. data/test/dummy/tmp/cache/assets/development/sass/04c25abe538d740770dc57f0bc99c57bfb9d893b/base.scssc +0 -0
  87. data/test/dummy/tmp/cache/assets/development/sass/1c982e9e357d042808eb40b8aba6ae6c7d85b403/_config.scssc +0 -0
  88. data/test/dummy/tmp/cache/assets/development/sass/1c982e9e357d042808eb40b8aba6ae6c7d85b403/_forms.scssc +0 -0
  89. data/test/dummy/tmp/cache/assets/development/sass/1c982e9e357d042808eb40b8aba6ae6c7d85b403/_links.scssc +0 -0
  90. data/test/dummy/tmp/cache/assets/development/sass/1c982e9e357d042808eb40b8aba6ae6c7d85b403/_mixins.scssc +0 -0
  91. data/test/dummy/tmp/cache/assets/development/sass/1c982e9e357d042808eb40b8aba6ae6c7d85b403/_normalize.scssc +0 -0
  92. data/test/dummy/tmp/cache/assets/development/sass/1c982e9e357d042808eb40b8aba6ae6c7d85b403/_print.scssc +0 -0
  93. data/test/dummy/tmp/cache/assets/development/sass/1c982e9e357d042808eb40b8aba6ae6c7d85b403/_type.scssc +0 -0
  94. data/test/dummy/tmp/cache/assets/development/sass/1c982e9e357d042808eb40b8aba6ae6c7d85b403/_utilities.scssc +0 -0
  95. data/test/dummy/tmp/cache/assets/development/sass/1c982e9e357d042808eb40b8aba6ae6c7d85b403/_variables.scssc +0 -0
  96. data/test/dummy/tmp/cache/assets/development/sass/1c982e9e357d042808eb40b8aba6ae6c7d85b403/body_styles.scssc +0 -0
  97. data/test/dummy/tmp/cache/assets/development/sass/48aca46cc4025326b9b5b1957de890441ce64f23/locker_kit.scssc +0 -0
  98. data/test/dummy/tmp/cache/assets/development/sass/8f1c3463f4fbd3ca810d5502e43339ba5cd36985/_navbar.scssc +0 -0
  99. data/test/dummy/tmp/cache/assets/development/sass/8f1c3463f4fbd3ca810d5502e43339ba5cd36985/_ui-card.scssc +0 -0
  100. data/test/dummy/tmp/cache/assets/development/sass/8f1c3463f4fbd3ca810d5502e43339ba5cd36985/_well.scssc +0 -0
  101. data/test/dummy/tmp/cache/assets/development/sass/8f1c3463f4fbd3ca810d5502e43339ba5cd36985/_widget.scssc +0 -0
  102. data/test/dummy/tmp/cache/assets/development/sass/c977669eb5330d310df3a7a4620988dcbe00d39c/pygments.scssc +0 -0
  103. data/test/dummy/tmp/cache/assets/development/sass/c977669eb5330d310df3a7a4620988dcbe00d39c/styleguide.scssc +0 -0
  104. data/test/dummy/tmp/cache/assets/development/sass/d60cb54163a01f9dde191aee03e10cf0dab38c91/styleguide.scssc +0 -0
  105. data/test/dummy/tmp/cache/assets/development/sass/d8a589a1c20f32882862cac6c238751d7f39e5e2/sprockets-octicons.scssc +0 -0
  106. data/test/dummy/tmp/cache/assets/development/sprockets/1173e509d17f7a3706741d0832238ee0 +0 -0
  107. data/test/dummy/tmp/cache/assets/development/sprockets/13fe41fee1fe35b49d145bcc06610705 +0 -0
  108. data/test/dummy/tmp/cache/assets/development/sprockets/1e3bcc1264e96c96c640d98cb7c5d191 +0 -0
  109. data/test/dummy/tmp/cache/assets/development/sprockets/20ddd85221f85cd3ba7ff96f63d706da +0 -0
  110. data/test/dummy/tmp/cache/assets/development/sprockets/2bd69b46958f010e4365dc9f5381e02f +0 -0
  111. data/test/dummy/tmp/cache/assets/development/sprockets/2cd351c7ee96b365f27beb00c7ff9eb8 +0 -0
  112. data/test/dummy/tmp/cache/assets/development/sprockets/2f5173deea6c795b8fdde723bb4b63af +0 -0
  113. data/test/dummy/tmp/cache/assets/development/sprockets/2fa87e81557ca7a5c9944388cf229dfa +0 -0
  114. data/test/dummy/tmp/cache/assets/development/sprockets/357970feca3ac29060c1e3861e2c0953 +0 -0
  115. data/test/dummy/tmp/cache/assets/development/sprockets/3f3bcd9651e7826e8390f40e1b5b8c53 +0 -0
  116. data/test/dummy/tmp/cache/assets/development/sprockets/3fcf5e62de3690143743c8ed45b0e8dd +0 -0
  117. data/test/dummy/tmp/cache/assets/development/sprockets/4b30a256940679580ca1043379a081e9 +0 -0
  118. data/test/dummy/tmp/cache/assets/development/sprockets/50e29d62f8dc2a0cdf2010173a132302 +0 -0
  119. data/test/dummy/tmp/cache/assets/development/sprockets/52e2f8c931d0a797e4bc765637830c40 +0 -0
  120. data/test/dummy/tmp/cache/assets/development/sprockets/5e989de141d42cf88bb8934bfd74a3a1 +0 -0
  121. data/test/dummy/tmp/cache/assets/development/sprockets/6372ad07abce965721d97cc18510d8a7 +0 -0
  122. data/test/dummy/tmp/cache/assets/development/sprockets/6ca4d0be9555778d16245cc27cb7aae5 +0 -0
  123. data/test/dummy/tmp/cache/assets/development/sprockets/87cab5925c6073796746cb35cdbf23e2 +0 -0
  124. data/test/dummy/tmp/cache/assets/development/sprockets/8c9fb025237e181603a7a019e0016d4e +0 -0
  125. data/test/dummy/tmp/cache/assets/development/sprockets/990990a53d0e47f2fcf8395e95ac8117 +0 -0
  126. data/test/dummy/tmp/cache/assets/development/sprockets/9d4dd787b3039856436c84f5e98ff86b +0 -0
  127. data/test/dummy/tmp/cache/assets/development/sprockets/ba15e5dc70970da0390b68e37aa27113 +0 -0
  128. data/test/dummy/tmp/cache/assets/development/sprockets/ba241e318cd26986f118054baad3d9f1 +0 -0
  129. data/test/dummy/tmp/cache/assets/development/sprockets/bb9a79e50e1a3cf5ad6c55cdb083a5d3 +0 -0
  130. data/test/dummy/tmp/cache/assets/development/sprockets/c3ad8be3403058e5b2d0c2cfcd707a84 +0 -0
  131. data/test/dummy/tmp/cache/assets/development/sprockets/c81153e58e296e073152f29659c6b038 +0 -0
  132. data/test/dummy/tmp/cache/assets/development/sprockets/cd5543cd37208d0ed26caee95b3db8bf +0 -0
  133. data/test/dummy/tmp/cache/assets/development/sprockets/cffd775d018f68ce5dba1ee0d951a994 +0 -0
  134. data/test/dummy/tmp/cache/assets/development/sprockets/d2bb620e99ee3dffac5d16b7c36b989f +0 -0
  135. data/test/dummy/tmp/cache/assets/development/sprockets/d771ace226fc8215a3572e0aa35bb0d6 +0 -0
  136. data/test/dummy/tmp/cache/assets/development/sprockets/dc9a6afcd1d8f8af292e8bf436bd8554 +0 -0
  137. data/test/dummy/tmp/cache/assets/development/sprockets/e00181a4c76f9e24a3c03ee77e67e107 +0 -0
  138. data/test/dummy/tmp/cache/assets/development/sprockets/ec00e9e1bd60727d575e90ace670c4b6 +0 -0
  139. data/test/dummy/tmp/cache/assets/development/sprockets/f184b7bbbbeb381c2b163c99efa4d0a3 +0 -0
  140. data/test/dummy/tmp/cache/assets/development/sprockets/f2bb20b648f6e9d4e68015f71051553a +0 -0
  141. data/test/dummy/tmp/cache/assets/development/sprockets/f69ff96ed1de235c73899373c1ad340e +0 -0
  142. data/test/dummy/tmp/cache/assets/development/sprockets/f7cbd26ba1d28d48de824f0e94586655 +0 -0
  143. data/test/dummy/tmp/cache/assets/development/sprockets/f9da7383a788fbf20b6ac16b1f2a8ad6 +0 -0
  144. data/test/dummy/tmp/cache/assets/development/sprockets/fe447ecb0f7c4ffa93ca2caa9cb13229 +0 -0
  145. data/test/dummy/tmp/pids/server.pid +1 -0
  146. data/test/integration/navigation_test.rb +10 -0
  147. data/test/locker_kit_test.rb +7 -0
  148. data/test/test_helper.rb +16 -0
  149. metadata +362 -0
@@ -0,0 +1,95 @@
1
+ @media print {
2
+
3
+ * {
4
+ text-shadow: none !important;
5
+ color: #000 !important; // Black prints faster: h5bp.com/s
6
+ background: transparent !important;
7
+ box-shadow: none !important;
8
+ }
9
+
10
+ a,
11
+ a:visited {
12
+ text-decoration: underline;
13
+ }
14
+
15
+ a[href]:after {
16
+ content: " (" attr(href) ")";
17
+ }
18
+
19
+ abbr[title]:after {
20
+ content: " (" attr(title) ")";
21
+ }
22
+
23
+ // Don't show links for images, or javascript/internal links
24
+ .ir a:after,
25
+ a[href^="javascript:"]:after,
26
+ a[href^="#"]:after {
27
+ content: "";
28
+ }
29
+
30
+ pre,
31
+ blockquote {
32
+ border: 1px solid #999;
33
+ page-break-inside: avoid;
34
+ }
35
+
36
+ thead {
37
+ display: table-header-group; // h5bp.com/t
38
+ }
39
+
40
+ tr,
41
+ img {
42
+ page-break-inside: avoid;
43
+ }
44
+
45
+ img {
46
+ max-width: 100% !important;
47
+ }
48
+
49
+ @page {
50
+ margin: 2cm .5cm;
51
+ }
52
+
53
+ p,
54
+ h2,
55
+ h3 {
56
+ orphans: 3;
57
+ widows: 3;
58
+ }
59
+
60
+ h2,
61
+ h3 {
62
+ page-break-after: avoid;
63
+ }
64
+
65
+ // Bootstrap components
66
+ .navbar {
67
+ display: none;
68
+ }
69
+ .table {
70
+ td,
71
+ th {
72
+ background-color: #fff !important;
73
+ }
74
+ }
75
+ .btn,
76
+ .dropup > .btn {
77
+ > .caret {
78
+ border-top-color: #000 !important;
79
+ }
80
+ }
81
+ .label {
82
+ border: 1px solid #000;
83
+ }
84
+
85
+ .table {
86
+ border-collapse: collapse !important;
87
+ }
88
+ .table-bordered {
89
+ th,
90
+ td {
91
+ border: 1px solid #ddd !important;
92
+ }
93
+ }
94
+
95
+ }
@@ -0,0 +1,87 @@
1
+ // Headings
2
+ // -------------------------
3
+
4
+ $headings-font-family: $headings-font-family;
5
+ $headings-font-weight: 400;
6
+ $headings-line-height: 1.1;
7
+ $headings-color: inherit;
8
+ $headings-small-color: #888;
9
+
10
+ $font-size-base: 14px !default;
11
+
12
+ $font-size-h1: floor(($font-size-base * 1.6)) !default;
13
+ $font-size-h2: floor(($font-size-base * 1.35)) !default;
14
+ $font-size-h3: ceil(($font-size-base * 1.2)) !default;
15
+ $font-size-h4: ceil(($font-size-base * 1.2)) !default;
16
+ $font-size-h5: $font-size-base !default;
17
+ $font-size-h6: ceil(($font-size-base * 0.85)) !default;
18
+
19
+ //** Unit-less `line-height` for use in components like buttons.
20
+ $line-height-base: 1.428571429 !default; // 20/14
21
+ //** Computed "line-height" (`font-size` * `line-height`) for use with `margin`, `padding`, etc.
22
+ $line-height-computed: floor(($font-size-base * $line-height-base)) !default; // ~20px
23
+
24
+ h1, h2, h3, h4, h5, h6,
25
+ .h1, .h2, .h3, .h4, .h5, .h6 {
26
+ font-family: $headings-font-family;
27
+ font-weight: $headings-font-weight;
28
+ line-height: $headings-line-height;
29
+ color: $headings-color;
30
+ margin-top: ($line-height-computed / 2);
31
+ margin-bottom: ($line-height-computed / 2);
32
+
33
+ small,
34
+ .small {
35
+ font-weight: normal;
36
+ line-height: 1;
37
+ color: $headings-small-color;
38
+ font-size: 65%;
39
+ }
40
+ }
41
+
42
+ h1, .h1 { font-size: $font-size-h1; }
43
+ h2, .h2 { font-size: $font-size-h2; color: $red; }
44
+ h3, .h3 { font-size: $font-size-h3; }
45
+ h4, .h4 { font-size: $font-size-h4; }
46
+ h5, .h5 { font-size: $font-size-h5; }
47
+ h6, .h6 { font-size: $font-size-h6; }
48
+
49
+
50
+ p {
51
+ margin: 0 0 ($line-height-computed / 2);
52
+ line-height: $line-height-computed;
53
+ font-size: $font-size-base;
54
+ }
55
+
56
+ small,
57
+ .small {
58
+ font-size: 90%;
59
+ }
60
+
61
+ strong {
62
+ font-weight: $font-bold-weight;
63
+ }
64
+
65
+ .muted {
66
+ color: $muted;
67
+ }
68
+
69
+ // Alignment
70
+ .text-left { text-align: left; }
71
+ .text-right { text-align: right; }
72
+ .text-center { text-align: center; }
73
+
74
+
75
+ // Lists
76
+ // -------------------------
77
+
78
+ // Unordered and Ordered lists
79
+ ul,
80
+ ol {
81
+ margin-top: 0;
82
+ margin-bottom: ($line-height-computed / 2);
83
+ ul,
84
+ ol {
85
+ margin-bottom: 0;
86
+ }
87
+ }
@@ -0,0 +1,24 @@
1
+ // Utilites
2
+ // -------
3
+
4
+ // Import if Google Fonts URL is defined
5
+
6
+ @if variable-exists(font-url--google) {
7
+ @import url($font-url--google);
8
+ }
9
+
10
+ // Calculate em Values
11
+
12
+ @function em($target, $context: $base-font--size) {
13
+ @return ($target / $context) * 1em;
14
+ }
15
+
16
+ // Mixins
17
+
18
+ @mixin bg-colors($map) {
19
+ @each $theme, $color in $map {
20
+ &--#{$theme} {
21
+ background-color: $color;
22
+ }
23
+ }
24
+ }
@@ -0,0 +1,16 @@
1
+ // Apply a natural box layout model to all elements
2
+ *, *:before, *:after {
3
+ -webkit-box-sizing: border-box;
4
+ -moz-box-sizing: border-box;
5
+ box-sizing: border-box;
6
+ }
7
+
8
+ body, html {
9
+ height: 100%;
10
+ width: 100%;
11
+ background-color: $sand;
12
+ margin: 0;
13
+ font-family: $sans-font-family;
14
+ font-size: $font-size-base;
15
+ -webkit-font-smoothing: antialiased;
16
+ }
@@ -0,0 +1,37 @@
1
+ .navbar {
2
+ //@include clearfix();
3
+ background-color: #fff;
4
+ border-bottom: 1px solid #cacaca;
5
+ height: 40px;
6
+ line-height: 40px;
7
+ position: relative;
8
+ padding: 0 18px;
9
+
10
+
11
+ .navbar-right {
12
+ float: right;
13
+ }
14
+
15
+ .navbar-left {
16
+ float: left;
17
+
18
+ .align-edge { margin-left: -30px; }
19
+ }
20
+
21
+ a {
22
+ @include link-on-hover();
23
+ padding: 0 6px;
24
+ font-weight: $font-bold-weight;
25
+ }
26
+
27
+ }
28
+
29
+ .navbar-brand {
30
+ background-color: $sand-gray;
31
+ border-bottom: 1px solid $brown;
32
+
33
+ a {
34
+ color: darken($brown, 25%);
35
+ &:hover { color: darken($brown, 45%); }
36
+ }
37
+ }
@@ -0,0 +1,16 @@
1
+ .ui-card, .ui-card-small {
2
+ background-color: #fff;
3
+ max-width: 550px;
4
+ width: 550px;
5
+ flex-grow: 1;
6
+ padding: 24px;
7
+ margin: 12px;
8
+ border-radius: 2px;
9
+ border: 1px solid $brown;
10
+ }
11
+
12
+ .ui-card-small {
13
+ width: 350px;
14
+ max-width: 350px;
15
+ flex-grow: 0;
16
+ }
@@ -0,0 +1,34 @@
1
+ .well {
2
+ //background-color: lighten($blue, 55%);
3
+ border-radius: 2px;
4
+ border: 1px solid lighten($blue, 55%);
5
+ display: flex;
6
+ margin: 12px 0;
7
+ padding: 12px;
8
+
9
+ .well-icon {
10
+ margin-right: 12px;
11
+ color: $green;
12
+ }
13
+
14
+ h3 {
15
+ margin: 0;
16
+ }
17
+
18
+ .well-supplemental-information {
19
+ @include spaced-out-spans;
20
+ color: $muted;
21
+ margin: 0;
22
+ }
23
+ }
24
+
25
+ .well-collapsed {
26
+ border: 1px solid lighten($blue, 55%);
27
+ border-bottom: none;
28
+ display: block;
29
+ padding: 2px 6px;
30
+
31
+ &:last-child {
32
+ border-bottom: 1px solid lighten($blue, 55%);
33
+ }
34
+ }
@@ -0,0 +1,19 @@
1
+ .widget {
2
+ background-color: #fff;
3
+ border-radius: 2px;
4
+ border: 1px solid $brown;
5
+ margin: 12px 0;
6
+ padding: 24px;
7
+
8
+ header {
9
+ align-items: baseline;
10
+ border-bottom: 1px solid #ddd;
11
+ display: flex;
12
+
13
+ h1 { flex-grow: 1; }
14
+ }
15
+
16
+ section {
17
+ margin: 12px 0;
18
+ }
19
+ }
@@ -0,0 +1,34 @@
1
+ .centered-small {
2
+ align-items: center;
3
+ display: flex;
4
+ flex-direction: column;
5
+ justify-content: center;
6
+ width: 100%;
7
+ min-height: 100%;
8
+ }
9
+
10
+ .locker {
11
+ width: 100%;
12
+ max-width: 960px;
13
+ margin: 0 auto;
14
+
15
+ .grid {
16
+ width: 100%;
17
+ display: flex;
18
+ flex-wrap: wrap;
19
+ justify-content: center;
20
+ }
21
+
22
+ .big-column {
23
+ width: 50%;
24
+ max-width: 50%;
25
+ flex-grow: 1;
26
+ padding: 12px;
27
+ margin: 12px 0;
28
+
29
+ @media screen and (max-width: $break-small) {
30
+ width: 100%;
31
+ max-width: 100%;
32
+ }
33
+ }
34
+ }
@@ -0,0 +1,68 @@
1
+ .highlight,
2
+ .highlight code,
3
+ .highlight pre {
4
+ font-family: "Source Code Pro", monospace;
5
+ font-size: 12px;
6
+ }
7
+
8
+ .hll { background-color: #ffffcc }
9
+ .c { color: #999988; font-style: italic } /* Comment */
10
+ .err { color: #a61717; background-color: #e3d2d2 } /* Error */
11
+ .k { color: #000000; font-weight: bold } /* Keyword */
12
+ .o { color: #000000; font-weight: bold } /* Operator */
13
+ .cm { color: #999988; font-style: italic } /* Comment.Multiline */
14
+ .cp { color: #999999; font-weight: bold; font-style: italic } /* Comment.Preproc */
15
+ .c1 { color: #999988; font-style: italic } /* Comment.Single */
16
+ .cs { color: #999999; font-weight: bold; font-style: italic } /* Comment.Special */
17
+ .gd { color: #000000; background-color: #ffdddd } /* Generic.Deleted */
18
+ .ge { color: #000000; font-style: italic } /* Generic.Emph */
19
+ .gr { color: #aa0000 } /* Generic.Error */
20
+ .gh { color: #999999 } /* Generic.Heading */
21
+ .gi { color: #000000; background-color: #ddffdd } /* Generic.Inserted */
22
+ .go { color: #888888 } /* Generic.Output */
23
+ .gp { color: #555555 } /* Generic.Prompt */
24
+ .gs { font-weight: bold } /* Generic.Strong */
25
+ .gu { color: #aaaaaa } /* Generic.Subheading */
26
+ .gt { color: #aa0000 } /* Generic.Traceback */
27
+ .kc { color: #000000; font-weight: bold } /* Keyword.Constant */
28
+ .kd { color: #000000; font-weight: bold } /* Keyword.Declaration */
29
+ .kn { color: #000000; font-weight: bold } /* Keyword.Namespace */
30
+ .kp { color: #000000; font-weight: bold } /* Keyword.Pseudo */
31
+ .kr { color: #000000; font-weight: bold } /* Keyword.Reserved */
32
+ .kt { color: #445588; font-weight: bold } /* Keyword.Type */
33
+ .m { color: #009999 } /* Literal.Number */
34
+ .s { color: #d01040 } /* Literal.String */
35
+ .na { color: #008080 } /* Name.Attribute */
36
+ .nb { color: #0086B3 } /* Name.Builtin */
37
+ .nc { color: #445588; font-weight: bold } /* Name.Class */
38
+ .no { color: #008080 } /* Name.Constant */
39
+ .nd { color: #3c5d5d; font-weight: bold } /* Name.Decorator */
40
+ .ni { color: #800080 } /* Name.Entity */
41
+ .ne { color: #990000; font-weight: bold } /* Name.Exception */
42
+ .nf { color: #990000; font-weight: bold } /* Name.Function */
43
+ .nl { color: #990000; font-weight: bold } /* Name.Label */
44
+ .nn { color: #555555 } /* Name.Namespace */
45
+ .nt { color: #000080 } /* Name.Tag */
46
+ .nv { color: #008080 } /* Name.Variable */
47
+ .ow { color: #000000; font-weight: bold } /* Operator.Word */
48
+ .w { color: #bbbbbb } /* Text.Whitespace */
49
+ .mf { color: #009999 } /* Literal.Number.Float */
50
+ .mh { color: #009999 } /* Literal.Number.Hex */
51
+ .mi { color: #009999 } /* Literal.Number.Integer */
52
+ .mo { color: #009999 } /* Literal.Number.Oct */
53
+ .sb { color: #d01040 } /* Literal.String.Backtick */
54
+ .sc { color: #d01040 } /* Literal.String.Char */
55
+ .sd { color: #d01040 } /* Literal.String.Doc */
56
+ .s2 { color: #d01040 } /* Literal.String.Double */
57
+ .se { color: #d01040 } /* Literal.String.Escape */
58
+ .sh { color: #d01040 } /* Literal.String.Heredoc */
59
+ .si { color: #d01040 } /* Literal.String.Interpol */
60
+ .sx { color: #d01040 } /* Literal.String.Other */
61
+ .sr { color: #009926 } /* Literal.String.Regex */
62
+ .s1 { color: #d01040 } /* Literal.String.Single */
63
+ .ss { color: #990073 } /* Literal.String.Symbol */
64
+ .bp { color: #999999 } /* Name.Builtin.Pseudo */
65
+ .vc { color: #008080 } /* Name.Variable.Class */
66
+ .vg { color: #008080 } /* Name.Variable.Global */
67
+ .vi { color: #008080 } /* Name.Variable.Instance */
68
+ .il { color: #009999 } /* Literal.Number.Integer.Long */