aboutsummaryrefslogtreecommitdiff
path: root/test/data/html/test-stylesheet.css
blob: 7a97b5234d942d89cbca99b152609e07eb10c938 (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
body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 14px;
    max-width: 680px;
    padding: 0 1em;
    box-sizing: border-box;
    margin: 0 auto;
    background-color: #f8f8f8;
    counter-reset: test-id;
    overflow-y: scroll;
}

h1 {
    font-size: 2em;
    margin: 0.67em 0;
}

p {
    margin: 0.33em 0;
}

h1+test-description {
    margin-top: -0.67em;
}

a, a:visited {
    color: #1080c0;
    text-decoration: underline;
}

test-case {
    display: block;
    background-color: #ffffff;
    margin: 1em 0;
    padding: 0.5em;
    box-shadow: rgba(64, 64, 64, 0.3) 0px 1px 2px 0px, rgba(64, 64, 64, 0.15) 0px 1px 3px 1px;
    border-radius: 4px;
}

test-case::before {
    content: 'Test ' counter(test-id);
    display: block;
    counter-increment: test-id;
    margin-bottom: 0.5em;
    border-bottom: 1px solid #d8d8d8;
    font-weight: bold;
}

test-description {
    color: #444444;
    font-style: italic;
    display: block;
    padding-bottom: 0.5em;
}