forked from hotwired/stimulus
/
examples.css
106 lines (89 loc) · 1.4 KB
/
examples.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
body {
background: rgb(251, 247, 240);
}
main {
display: flex;
flex-flow: row;
align-items: flex-start;
justify-content: flex-start;
}
.logo {
width: 6ex;
height: 6ex;
margin: 0 0 1ex;
}
.sidebar {
width: 10em;
margin-top: 3ex;
margin-left: 2em;
}
.nav {
white-space: nowrap;
}
.nav li {
list-style: none;
}
.nav a {
display: block;
position: relative;
text-decoration: none;
}
.nav a.active {
font-weight: bold;
color: #000;
}
.nav a.active::before {
content: "►";
display: inline-block;
position: absolute;
left: -1em;
font-size: 1em;
}
.container {
flex-grow: 0;
background-color: #fff;
border: 0.25ex solid #333;
border-radius: 1ex;
box-shadow: 1ex 1ex 0 0 rgba(0, 0, 0, 0.25);
margin: 7ex 3em 0 0;
padding: 2.5ex 2em;
display: flex;
flex-direction: column;
}
.clipboard-button {
display: none;
}
.clipboard--supported .clipboard-button {
display: initial;
}
.clipboard-source {
background-color: transparent;
border: none;
box-shadow: none;
color: inherit;
font-size: inherit;
}
.clipboard-paste {
min-width: 20em;
min-height: 8ex;
}
.slide {
display: none;
font-size: 6rem;
}
.slide--current {
display: block;
}
.container--content-loader {
min-width: 16em;
}
.tabpanel {
border: 1px solid #dedede;
display: none;
margin-top: .4rem;
padding: 0.8rem;
font-size: 6rem;
}
.tabpanel--current {
display: block;
}