-
Notifications
You must be signed in to change notification settings - Fork 28
/
idiom.yml
50 lines (44 loc) · 1.33 KB
/
idiom.yml
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
labels:
- name: aim
paired:
htmlTemplate: <div class="aim"><fieldset><legend>Aim</legend>{{children}}</fieldset></div>
- name: description
paired:
htmlTemplate: <div class="description"><fieldset><legend>Description</legend>{{children}}</fieldset></div>
- name: architypes
paired:
htmlTemplate: <div class="architypes"><fieldset><legend>Architypes</legend>{{children}}</fieldset></div>
- name: limitations
paired:
htmlTemplate: <div class="limitations"><fieldset><legend>Limitations</legend>{{children}}</fieldset></div>
rules:
- description: Narrative must always contain just one set of aims.
selector:
label: aim
minimumOccurrences: 1
maximumOccurrences: 1
- description: Narrative must always contain just one description of the idiom.
selector:
label: description
minimumOccurrences: 1
maximumOccurrences: 1
- description: Narrative must always contain at least one set of limitations.
selector:
label: limitations
minimumOccurrences: 1
styling:
css: |
fieldset {
border: 1px solid #ccc;
border-radius: 8px;
}
legend {
font-size:0.9em; font-style: italic;
}
.aim fieldset {
background: #f3f3f3;
}
.aim,.description,.architypes,.limitations {
margin-top: 1em;
margin-bottom: 2em;
}