Skip to content

Commit 1248c58

Browse files
Merge pull request #2379 from keymanapp/auto/keyboards/upload/TC-2429
auto: Keyboard help deployment
2 parents 8869c96 + bc6a4d4 commit 1248c58

File tree

7 files changed

+830
-0
lines changed

7 files changed

+830
-0
lines changed
Lines changed: 269 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,269 @@
1+
@font-face {
2+
font-family: CharisSILWeb;
3+
font-weight: normal;
4+
font-style: normal;
5+
src: url("https://fonts.languagetechnology.org/fonts/sil/charissil/web/CharisSIL-Regular.woff2") format("woff2");
6+
}
7+
@font-face {
8+
font-family: CharisSILWeb;
9+
font-weight: bold;
10+
font-style: normal;
11+
src: url("https://fonts.languagetechnology.org/fonts/sil/charissil/web/CharisSIL-Bold.woff2") format("woff2");
12+
}
13+
14+
body {
15+
font-family: 'Charis SIL', CharisSILWeb, Gentium, serif;
16+
17+
}
18+
19+
20+
.tab-folder > .tab-content:target ~ .tab-content:last-child, .tab-folder > .tab-content {
21+
display: none;
22+
}
23+
24+
.tab-folder > :last-child, .tab-folder > .tab-content:target {
25+
display: block;
26+
}
27+
.right {
28+
float: right;
29+
}
30+
.left {
31+
float: left;
32+
}
33+
.full {
34+
width: 98%;
35+
min-width: 700px;
36+
}
37+
38+
.red {
39+
color:red;
40+
}
41+
42+
43+
img.responsive {
44+
height: 100px;
45+
width: auto;
46+
}
47+
/* style.css */
48+
.my-class {
49+
vertical-align: baseline;
50+
}
51+
52+
/* Responsive (si besoin) */
53+
@media (max-width: 600px) {
54+
img.responsive {
55+
height: 60px;
56+
}
57+
#container {
58+
flex-direction: column;
59+
text-align: center;
60+
}
61+
}
62+
63+
/* Pour le paragraphe du haut entre les images */
64+
.top-tagline {
65+
font-weight: bold;
66+
text-align: center;
67+
flex: 1;
68+
margin: 2px;
69+
font-size: 2em;
70+
font-style: italic; /* facultatif */
71+
}
72+
73+
/* Pour tous les autres paragraphes "normaux" */
74+
p.tagline {
75+
font-size: 100%;
76+
}
77+
78+
h1.color {
79+
text-align: center;
80+
font-size: 130%;
81+
display: block;
82+
}
83+
.tagline {
84+
text-align: center;
85+
font-style: italic;
86+
}
87+
.buttonlang {
88+
background-color: pink;
89+
border: none;
90+
color: white;
91+
padding: 5px;
92+
word-wrap: break-word;
93+
text-align: center;
94+
text-decoration: none;
95+
display: inline-block;
96+
font-size: 18px;
97+
font-weight: 800;
98+
margin: 6px 30px;
99+
cursor: pointer;
100+
border-radius: 8px;
101+
width: 94%;
102+
animation: pulse 1.5s ease infinite;
103+
}
104+
105+
h3.color {
106+
display: block;
107+
font-weight: bold;
108+
text-align: left;
109+
padding: 1rem;
110+
color: #000000;
111+
background: linear-gradient(90deg, rgba(255,206,0,1) 0%, rgba(255,206,0,0) 100%);
112+
cursor: pointer;
113+
border-radius: 7px;
114+
transition: all 0.25s ease-out;
115+
}
116+
117+
@keyframes pulse {
118+
0% {
119+
transform: scale(1);
120+
box-shadow: 0 2px 2px rgba(0,0,0,.2);
121+
background-color: #F1506C;
122+
}
123+
50% {
124+
transform: scale(1.05);
125+
box-shadow: 0 2px 2px rgba(0,0,0,.2);
126+
background-color: #D21034;
127+
}
128+
100% {
129+
transform: scale(1);
130+
box-shadow: 0 2px 2px rgba(0,0,0,.2);
131+
background-color: #F1506C;
132+
}
133+
}
134+
135+
table {
136+
border-collapse: collapse;
137+
border: 2px solid rgb(140,140,140);
138+
text-align: center;
139+
}
140+
141+
td {
142+
border: 1px solid rgb(160,160,160);
143+
padding: 8px 10px;
144+
}
145+
146+
th {
147+
color: white;
148+
background-color: rgb(0,78,221);
149+
}
150+
151+
tr:nth-child(even) td {
152+
background-color: rgb(240,240,240);
153+
}
154+
155+
.heman {
156+
font: 1.4rem molot;
157+
text-shadow:
158+
1px 1px 1px #fff,
159+
2px 2px 1px #000;
160+
}
161+
162+
.skeletor {
163+
font: 1.7rem rapscallion;
164+
letter-spacing: 3px;
165+
text-shadow:
166+
1px 1px 0 #fff,
167+
0 0 9px #000;
168+
}
169+
170+
.keyboard--row {
171+
display: block;
172+
height: 3em;
173+
margin: 0.5em;
174+
}
175+
176+
.keyboard--row > * {
177+
display: inline-block;
178+
box-sizing: border-box;
179+
position: relative;
180+
cursor: pointer;
181+
-webkit-user-select: none;
182+
border-radius: 0.3em;
183+
margin: 0.06em;
184+
padding: 0 0.2em;
185+
width: 3.3em;
186+
height: 100%;
187+
}
188+
189+
.key--bottom-left > * {
190+
position: absolute;
191+
text-align: left;
192+
bottom: 0.4em;
193+
left: 0.4em;
194+
}
195+
196+
.key--bottom-right > * {
197+
position: absolute;
198+
text-align: right;
199+
bottom: 0.4em;
200+
right: 0.4em;
201+
white-space:pre;
202+
}
203+
204+
.key--word > * {
205+
font-size: 0.8em;
206+
}
207+
208+
.key--letter > div {
209+
font-size: 1.2em;
210+
height: 1.2em;
211+
float: right;
212+
clear: right;
213+
}
214+
215+
.key--letter > div:first-child {
216+
margin-top: -0.2em;
217+
}
218+
219+
.key--letter > span {
220+
font-size: 1.2em;
221+
height: 1.2em;
222+
display: block;
223+
position: absolute;
224+
margin-top: -0.2em;
225+
margin-left: 0.1em;
226+
}
227+
.key--letter > span:last-child {
228+
margin-top: 1em;
229+
}
230+
231+
/* Light keyboard */
232+
233+
.keyboard--light {
234+
font-size: 20px;
235+
white-space: nowrap;
236+
max-width: 900px; /* largeur maximale */
237+
box-sizing: border-box;
238+
flex-wrap: wrap;
239+
}
240+
241+
.keyboard.keyboard--light .keyboard--row > * {
242+
background: #ccc;
243+
color: #111;
244+
border: 1px solid #888;
245+
box-shadow: 0 0.2em 0 0.05em #666;
246+
border-bottom-color: #ddd;
247+
}
248+
249+
.keyboard.keyboard--light .keyboard--row > .key--letter {
250+
background: #f0f0f0;
251+
box-shadow: 0 0.2em 0 0.05em #666;
252+
border-bottom-color: #ddd;
253+
}
254+
255+
.keyboard.keyboard--light .key--letter > span {
256+
color: black
257+
}
258+
259+
.keyboard.keyboard--light .key--letter span.french {
260+
color: blue
261+
}
262+
263+
.keyboard.keyboard--light .key--letter span.spec {
264+
color: gray
265+
}
266+
267+
.keyboard.keyboard--light .key--letter span.specTd {
268+
color: #9400D3
269+
}
239 Bytes
Loading
748 Bytes
Loading
8.28 KB
Loading

0 commit comments

Comments
 (0)