This repository has been archived by the owner on Aug 20, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy paththeme.css
123 lines (100 loc) · 2.29 KB
/
theme.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
#styleguide {
float: left;
width: 80%;
}
#styleguide .section {
display: none;
margin-bottom: 2em;
-webkit-box-shadow: 2px 2px 5px 0px rgba(50, 50, 50, 0.43);
-moz-box-shadow: 2px 2px 5px 0px rgba(50, 50, 50, 0.43);
box-shadow: 2px 2px 5px 0px rgba(50, 50, 50, 0.43);
}
#styleguide .result,
#styleguide .comment {
padding: 1em;
border: 1px solid #ddd;
}
#styleguide .result {
border-top: none;
}
#styleguide .comment {
background-color: rgb(245, 245, 245);
}
#styleguide .section .comment code {
color: #3fbead;
font-family: Consolas, Monaco, 'Andale Mono', monospace;
font-size: 13px;
}
#styleguide .markup {
border: 1px solid #ddd;
border-top: none;
}
#styleguide code,
#styleguide pre {
border: none;
font-family: Consolas, Monaco, 'Andale Mono', monospace;
font-size: 13px;
line-height: 20px;
direction: ltr;
text-align: left;
white-space: pre-wrap;
word-spacing: normal;
margin: 0;
-moz-tab-size: 4;
-o-tab-size: 4;
tab-size: 4;
-webkit-hyphens: none;
-moz-hyphens: none;
-ms-hyphens: none;
hyphens: none;
}
/* menu */
#styleguide-menu {
width: calc(20% - 1em - 2px);
float: left;
margin-right: 1em;
padding: 1em 0;
border: 1px solid #ddd;
-webkit-box-shadow: 2px 2px 5px 0px rgba(50, 50, 50, 0.43);
-moz-box-shadow: 2px 2px 5px 0px rgba(50, 50, 50, 0.43);
box-shadow: 2px 2px 5px 0px rgba(50, 50, 50, 0.43);
}
#styleguide-menu .submenu {
display: none;
background: rgba(0, 0, 0, 0.05);
}
#styleguide-menu .submenu.on{
display: block;
}
#styleguide-menu ul {
list-style-type: none;
padding: 0;
margin: 0;
}
#styleguide-menu li {
padding: 0;
margin: 0;
}
#styleguide-menu a {
display: block;
width: calc(100% - 2em + 2px);
padding: 0.3em 1em;
text-decoration: none;
color: rgba(0, 0, 0, 0.87);
}
#styleguide-menu ul ul a {
padding: 0.3em 1em 0.3em 2em;
width: calc(100% - 3em + 2px);
}
#styleguide-menu a:visited,
#styleguide-menu a:hover,
#styleguide-menu a:active {
display: block;
color: rgba(0, 0, 0, 0.87);
}
#styleguide-menu a:hover {
background-color: rgba(250, 255, 70, 0.3);
}
#styleguide-menu a.on {
background-color: rgba(0, 0, 0, 0.1);
}