1
1
mirror of https://github.com/github/semantic.git synced 2024-12-23 23:11:50 +03:00
semantic/UI/style.css

166 lines
3.6 KiB
CSS
Raw Normal View History

2015-12-10 22:50:08 +03:00
table {
2015-12-11 02:20:29 +03:00
width: 100%;
table-layout: fixed;
2015-12-15 18:11:20 +03:00
border-collapse: separate;
border-spacing: 0;
box-sizing: border-box;
2015-12-10 22:50:08 +03:00
}
2015-12-15 18:15:43 +03:00
2015-12-15 18:16:38 +03:00
td {
2015-12-17 07:27:36 +03:00
vertical-align: top;
padding: 0;
2015-12-07 22:35:57 +03:00
}
2015-12-11 02:20:29 +03:00
.blob-num {
width: 1%;
min-width: 50px;
2015-12-15 18:11:15 +03:00
white-space: nowrap;
2015-12-14 18:37:57 +03:00
text-align: right;
2015-12-15 17:58:22 +03:00
font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace;
font-size: 12px;
2015-12-15 18:02:18 +03:00
line-height: 18px;
2015-12-15 18:02:30 +03:00
color: rgba(0, 0, 0, 0.3);
2015-12-15 18:00:07 +03:00
border: solid #eee;
border-width: 0 1px 0 0;
2015-12-15 17:59:51 +03:00
padding-left: 10px;
padding-right: 10px;
2015-12-15 17:59:58 +03:00
-webkit-user-select: none;
2015-12-11 02:20:29 +03:00
}
2015-12-17 07:19:41 +03:00
.blob-num-replacement {
background-color: #ffdddd;
border-color: #f1c0c0
}
.blob-code+.blob-num-replacement {
background-color: #dbffdb;
border-color: #c1e9c1
}
.blob-code-replacement {
background-color: #ffecec;
}
.blob-code-replacement:last-child {
background-color: #eaffea;
}
.blob-code {
2015-12-15 18:12:40 +03:00
padding-left: 10px;
padding-right: 10px;
2015-12-15 18:17:42 +03:00
font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace;
font-size: 13px;
line-height: 18px;
color: rgb(51, 51, 51);
tab-size: 8;
}
.blob-code>* {
2015-12-15 18:17:42 +03:00
font-size: 12px;
line-height: 16px;
2015-12-11 02:20:29 +03:00
}
2015-12-15 17:56:02 +03:00
.empty-cell {
2015-12-17 07:19:23 +03:00
background-color: #fafafa;
border-right-color: #eee;
2015-12-15 17:56:02 +03:00
}
.blob-code+.blob-num {
2015-12-17 07:19:23 +03:00
border-left-width: 1px;
}
2015-11-12 21:41:50 +03:00
#before, #after {
2015-12-17 07:19:23 +03:00
width: 50%;
2015-11-12 21:41:50 +03:00
}
#before {
2015-12-17 07:19:23 +03:00
float: left;
2015-11-12 21:41:50 +03:00
}
#after {
2015-12-17 07:19:23 +03:00
float: right;
2015-11-12 21:41:50 +03:00
}
body {
2015-12-17 07:19:23 +03:00
margin: 0;
padding: 0;
font-family: monospace;
2015-11-12 21:41:50 +03:00
}
2015-12-22 21:09:10 +03:00
.blob-code:last-child .patch,
.blob-code:last-child .insert,
.blob-code:last-child .replace {
2015-12-17 07:19:41 +03:00
background-color: #a6f3a6;
2015-11-12 21:41:50 +03:00
}
2015-12-22 21:09:10 +03:00
.blob-code .patch,
.blob-code .delete,
.blob-code .replace {
2015-12-17 07:27:36 +03:00
background-color: #f8cbcb;
2015-11-12 21:41:50 +03:00
}
.diff div, .diff ul, .diff li, .diff dl, .diff dd, .diff span {
2015-12-17 07:19:23 +03:00
white-space: pre-wrap;
display: inline;
margin: 0;
padding: 0;
color: initial;
2015-11-12 21:41:50 +03:00
}
.diff dt {
2015-12-17 07:19:23 +03:00
display: none;
2015-11-12 21:41:50 +03:00
}
/* syntax highlighting */
.diff .category-regex,
.diff .category-string {
2015-12-17 07:19:23 +03:00
color: #183691;
2015-11-12 21:41:50 +03:00
}
.diff .category-false,
.diff .category-true,
.diff .category-null,
.diff .category-undefined,
.diff .category-number,
.diff .category-function_call>li>.category-identifier,
2016-02-24 21:47:50 +03:00
.diff .category-function_call>li>.category-argument_list>li>.category-identifier,
2015-11-12 21:41:50 +03:00
.diff .category-function_call>li>.category-member_access>.category-identifier,
2016-02-24 21:47:50 +03:00
.diff .category-member_access>:not(:first-child)>.category-identifier,
.diff .category-scope_resolution_expression>li>.category-identifier,
.diff .category-symbol {
2015-12-17 07:19:23 +03:00
color: #0086b3;
2015-11-12 21:41:50 +03:00
}
.diff .category-comment {
2015-12-17 07:19:23 +03:00
color: #969896;
2015-11-12 21:41:50 +03:00
}
.diff [class^="category-"][class$="_op"],
.diff .category-ternary,
2016-02-24 21:47:50 +03:00
.diff .category-conditional,
.diff .category-additive,
.diff .category-multiplicative,
.diff .category-complement,
2015-11-12 21:41:50 +03:00
.diff .category-var_declaration,
.diff .category-new_expression,
.diff .category-if_statement,
.diff .category-do_statement,
.diff .category-for_statement,
.diff .category-for_in_statement,
.diff .category-return_statement,
.diff .category-function,
.diff .category-assignment,
2016-02-24 21:47:50 +03:00
.diff .category-var_assignment,
.diff .category-method_declaration,
.diff .category-case_statement,
.diff .category-else_block,
.diff .category-when_block,
.diff .category-then_block,
.diff .category-class_declaration,
.diff .category-module_declaration {
2015-12-17 07:19:23 +03:00
color: #a71d5d;
2015-11-12 21:41:50 +03:00
}
.diff .category-function>li:first-child>.category-identifier,
2016-02-24 21:47:50 +03:00
.diff .category-method_declaration>li:first-child>.category-identifier,
2015-11-12 21:41:50 +03:00
.diff .category-new_expression>li>.category-function_call>li:first-child>.category-identifier,
.diff .category-pair>li:first-child>.category-identifier,
2016-02-24 21:47:50 +03:00
.diff .category-assignment>li:first-child>.category-member_access>:not(:first-child)>.category-identifier,
.diff .category-class_declaration>li>.category-identifier,
.diff .category-module_declaration>li>.category-identifier {
2015-12-17 07:19:23 +03:00
color: #795da3;
2015-11-12 21:41:50 +03:00
}