@import "reset";
@import "hightlight";

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0)
}

.utear-card {
    margin: 15px 0;
}

.markdown-article {
    color: #5e6d82;
    a{
        color: #1d90e6;
        text-decoration: none;
    }
    h1, h2, h3, h4 {
        margin: 12px 0;
    }
    h1 {
        font-size: 26px;
    }
    h2 {
        font-size: 20px;
        font-weight: 400;
    }
    h3 {
        font-size: 17px;
        font-weight: 400;
    }
    p {
        margin: 5px;
        font-size: 14px;
    }
    ul.demo-list {
        padding-left: 40px;
        list-style-type: disc;
        li {
            margin-bottom: 5px;
            font-size: 14px;
        }
    }
}

.demo-case {
    .utear-row {
        margin-bottom: 10px;
        &:last-child {
            margin-bottom: 0;
        }
    }
    .utear-col {
        color: #fff;
        text-align: center;
        line-height: 40px;
    }
    .utear-col:nth-child(odd) > div {
        background: rgba(0, 153, 229, .7);
    }
    .utear-col:nth-child(even) > div {
        background: rgba(0, 153, 229, .9);
    }
}

.demo-table {
    table& {
        font-size: 14px;
        color: #666;
    }
    th {
        background: #F7F7F7;
        white-space: nowrap;
        color: #5C6B77;
        font-weight: 400;
    }
    th, td {
        border: 1px solid #e9e9e9;
        padding: 8px 16px;
        text-align: left;
    }
    td:first-child {
        background: #fcfcfc;
        font-weight: 500;
        width: 20%;
        font-family: "Lucida Console", Consolas, Menlo, Courier, monospace;
    }
}

.demo-case {
    &:after, &:before {
        content: '';
        display: table;
    }

    &:after {
        clear: both;
    }
}