summaryrefslogtreecommitdiff
path: root/static/styles.css
blob: 06cb18a1621814fcfb9480271bc04a02a896aaaf (plain)
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
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
@font-face {
    font-family: EBGaramond;
    src: url(/prosodyle/static/EBGaramond-VariableFont_wght.ttf) format('woff2-variations');
    font-style: normal;
}

@font-face {
    font-family: EBGaramond;
    src: url(/prosodyle/static/EBGaramond-Italic-VariableFont_wght.ttf) format('woff2-variations');
    font-style: italic;
}

body {
	background: #fdf3f3;
	color: DarkSlateGrey;
	font-family: EBGaramond, serif;
    font-size: large;
}

a {
	color: #1a97bf;
}

a:hover {
	color: #075d77;
}

.container {
    margin: 1em;
    max-width: 40em;
}

.title {
	letter-spacing: -0.5px;
	font-weight: bold;
}

form {
	border: 1px DarkSlateGrey solid;
    padding: 10px;
    padding-left: 25px;
}

.sep {
    margin-left: 6px;
    margin-right: 6px;
}

button {
    margin-right: 10px;
}

.box {
	display: inline-block;
    width: 40px;
    height: 40px;
    text-align: center;
    font-weight: bold;
    font-size: 22px;
    border: 2px lightgrey solid;
    margin-right: 0px;
    margin-left: 0px;
	color: black;
	background-color: white;
	vertical-align: top;
	line-height: 39px;
	font-family: Cantarell;
}
.focus {
	background-color: #fff079;
}
.syllable .box:not(:first-child) {
	margin-left: -1px;
	border-left-style: dotted;
}
.syllable .box:not(:last-child) {
	margin-right: -1px;
	border-right-style: dotted;
}
.word .syllable:not(:first-child) {
	margin-left: -1px;
}
.word .syllable:not(:last-child) {
	margin-right: -1px;
}
.syllable.stress + .syllable .entrybox:first-child {
	border-left-color: darkslategrey;
}
.stress {
	z-index: 9999;
}

.syllable {
    display: inline-block;
}
.syllable-sep {
    display: inline-block;
    font-size: 30px;
    margin: 1px;
}
.word {
    display: inline-block;
    margin-right: 40px;
	margin-bottom: 5px;
}
.line {
	margin-bottom: 15px;
}

.stress>.entrybox {
    border-color: darkslategrey;
}

.green {
	background-color: rgb(106, 170, 100);
	color: white;
	border-color: rgb(106, 170, 100);
}
.yellow {
	background-color: rgb(201, 180, 88);
	color: white;
	/* border: 0; */
	border-color: rgb(201,180,88);
}
.grey {
	background-color: rgb(120, 124, 126);
	color: white;
	/* border: 0; */
	border-color: rgb(120,124,126);
}

hr {
    border: .1px DarkSlateGrey dashed;
	margin-top: 20px;
}

.poetry {
	font-family: EBGaramond;
}

.byline {
	font-style: italic;
	font-size: 75%;
}