-
Notifications
You must be signed in to change notification settings - Fork 0
/
autoLinesStyle.css
65 lines (55 loc) · 1.07 KB
/
autoLinesStyle.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
:root{
--baseFontSize: 18rem;
--baseLineHeight: 20rem;
--baseFontSizeMultiplier: 0.35vw;
--baseLineHeightMultiplier: 0.5vw;
}
*,
*:after,
*:before {
box-sizing: inherit;
margin: 0;
padding: 0;
scrollbar-width: auto;
}
html {
box-sizing: border-box;
font-size: 1px !important;
overflow-x: hidden;
}
h1,h2,h3,
h4,h5,h6 {
margin: 30px 10px;
}
p{
margin-top: 20px;
}
main{
padding: 10px;
margin: 0 auto;
max-width: calc(900px + 1vw);
}
/* -----autoLinesCount----- */
body {
font: normal 16rem/23rem 'Source Sans Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
font-size: calc(var(--baseFontSize) + var(--baseFontSizeMultiplier));
line-height: calc(var(--baseLineHeight) + var(--baseLineHeightMultiplier));
}
.row {
display: flex;
flex-flow: row wrap;
}
.column {
display: flex;
flex-flow: column wrap;
}
.autoLineColumn{
max-width: 80px;
flex: 1 0 50px;
padding: 1em;
text-align: right;
}
.autoLineCode{
flex: 1 0;
}
/* -----autoLinesCount----- */