view MoinMoin/themes/modernized/static/css/stylus/admonitions.styl @ 2681:4918721350e1

Solves issue #425 Renamed basic.less and main.styl files to a common name theme.less/theme.styl to get a uniformly named theme.css across all themes and made changes to use new names accordingly. Also merged custom.less in basic theme into theme.less as there was no reason to keep an extra less file.
author Ajitesh Gupta <ajgupta93@gmail.com>
date Fri, 25 Jul 2014 19:53:07 +0530
parents 611d8ab8063a
children
line wrap: on
line source
// admonitions  - no moin- prefix added  here, these classes are used within moinwiki: {{{#!wiki caution
// ReST: .. caution:: some text
// Docbook: <caution><para>some text</para></caution>

// TODO: create icons for attention, danger, error, and hint.
#moin-content
    div.attention
        background-image url("../img/admonitions/important.png")
    div.caution
        background-image url("../img/admonitions/caution.png")
    div.danger
        background-image url("../img/admonitions/warning.png")
    div.error
        background-image url("../img/admonitions/warning.png")
    div.hint
        background-image url("../img/admonitions/tip.png")
    div.important
        background-image url("../img/admonitions/important.png")
    div.note
        background-image url("../img/admonitions/note.png")
    div.tip
        background-image url("../img/admonitions/tip.png")
    div.warning
        background-image url("../img/admonitions/warning.png")

    div.attention, div.caution, div.danger, div.error, div.hint, div.important, div.note, div.tip, div.warning
        color black
        background-color #F9F9FF
        background-repeat no-repeat
        background-position 8px 8px
        border 1px solid #E5E5E5
        margin 10px 30px 10px 30px
        min-height 64px
        padding-left 64px
        clear both
        p
            margin-top 8px  // to align text with big graphic