Proyectos de Subversion Moodle

Rev

| Ultima modificación | Ver Log |

Rev Autor Línea Nro. Línea
1 efrain 1
// stylelint-disable
2
//
3
// Automatically style Markdown-based tables like a Bootstrap `.table`.
4
//
5
 
6
.bd-content {
7
 
8
    // Hack the sticky header
9
    >h2[id],
10
    >h3[id],
11
    >h4[id] {
12
        pointer-events: none;
13
 
14
        &::before {
15
            display: block;
16
            height: 6rem;
17
            margin-top: -6rem;
18
            content: "";
19
        }
20
    }
21
 
22
    // Override Bootstrap defaults
23
    >.table {
24
        max-width: 100%;
25
        margin-bottom: 1.5rem;
26
 
27
        @include media-breakpoint-down(md) {
28
            display: block;
29
            overflow-x: auto;
30
 
31
            &.table-bordered {
32
                border: 0;
33
            }
34
        }
35
 
36
        th,
37
        td {
38
            &:first-child {
39
                padding-left: 0;
40
            }
41
 
42
            &:not(:last-child) {
43
                padding-right: 1.5rem;
44
            }
45
        }
46
 
47
        // Prevent breaking of code (e.g., Grunt tasks list)
48
        td:first-child>code {
49
            white-space: nowrap;
50
        }
51
    }
52
}
53
 
54
.bd-content-title {
55
    display: block;
56
    pointer-events: auto;
57
}
58
 
59
//
60
// Docs sections
61
//
62
 
63
.bd-content {
64
    >h2:not(:first-child) {
65
        margin-top: 3rem;
66
    }
67
 
68
    >h3 {
69
        margin-top: 1.5rem;
70
    }
71
 
72
    >ul li,
73
    >ol li {
74
        margin-bottom: .25rem;
75
    }
76
}
77
 
78
.bd-title {
79
    margin-bottom: .5rem;
80
    @include font-size(3rem);
81
}
82
 
83
.bd-lead {
84
    @include font-size(1.5rem);
85
    font-weight: 300;
86
}
87
 
88
.bd-text-purple {
89
    color: $bd-purple;
90
}
91
 
92
.bd-text-purple-bright {
93
    color: $bd-purple-bright;
94
}