1
0
mirror of https://github.com/squidfunk/mkdocs-material.git synced 2024-11-23 23:21:00 +01:00

Changed styles for admonition notes and warnings

This commit is contained in:
squidfunk 2016-02-16 16:49:48 +01:00
parent cf37693e2b
commit 075d144ca1
19 changed files with 399 additions and 307 deletions

View File

@ -4,6 +4,7 @@ mkdocs-material-0.x.x (2016-xx-xx)
* Fixed webfont delivery problem when hosted in subdirectories
* Fixed print styles in mobile/tablet configuration
* Added option to configure fonts in mkdocs.yml with fallbacks
* Changed styles for admonition notes and warnings
* Set download link to latest version if available
* Set up tracking of outgoing links and actions for Google Analytics

Binary file not shown.

View File

@ -17,4 +17,6 @@
<glyph unicode="&#xe607;" glyph-name="github" d="M512.008 926.025c-282.738 0-512.008-229.218-512.008-511.998 0-226.214 146.704-418.132 350.136-485.836 25.586-4.738 34.992 11.11 34.992 24.632 0 12.204-0.48 52.542-0.696 95.324-142.448-30.976-172.504 60.41-172.504 60.41-23.282 59.176-56.848 74.916-56.848 74.916-46.452 31.778 3.51 31.124 3.51 31.124 51.4-3.61 78.476-52.766 78.476-52.766 45.672-78.27 119.776-55.64 149.004-42.558 4.588 33.086 17.852 55.68 32.506 68.464-113.73 12.942-233.276 56.85-233.276 253.032 0 55.898 20.004 101.574 52.76 137.428-5.316 12.9-22.854 64.972 4.952 135.5 0 0 43.006 13.752 140.84-52.49 40.836 11.348 84.636 17.036 128.154 17.234 43.502-0.198 87.336-5.886 128.256-17.234 97.734 66.244 140.656 52.49 140.656 52.49 27.872-70.528 10.35-122.6 5.036-135.5 32.82-35.856 52.694-81.532 52.694-137.428 0-196.654-119.778-239.95-233.79-252.624 18.364-15.89 34.724-47.046 34.724-94.812 0-68.508-0.596-123.644-0.596-140.508 0-13.628 9.222-29.594 35.172-24.566 203.322 67.776 349.842 259.626 349.842 485.768 0 282.78-229.234 511.998-511.992 511.998z" />
<glyph unicode="&#xe608;" glyph-name="download" d="M810.667 554.667h-170.667v256h-256v-256h-170.667l298.667-298.667 298.667 298.667zM213.333 170.667v-85.333h597.333v85.333h-597.333z" />
<glyph unicode="&#xe609;" glyph-name="star" d="M512 201.814l263.68-159.147-69.973 299.947 232.96 201.813-306.773 26.027-119.893 282.88-119.893-282.88-306.773-26.027 232.96-201.813-69.973-299.947z" />
<glyph unicode="&#xe610;" glyph-name="warning" d="M554 340.667v172h-84v-172h84zM554 170.667v86h-84v-86h84zM42 42.667l470 810 470-810h-940z" />
<glyph unicode="&#xe611;" glyph-name="hint" d="M614 682.667h240v-426h-300l-16 84h-240v-298h-84v726h384z" />
</font></defs></svg>

Before

Width:  |  Height:  |  Size: 4.0 KiB

After

Width:  |  Height:  |  Size: 4.3 KiB

Binary file not shown.

Binary file not shown.

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -53,7 +53,7 @@
font-style: normal;
}
</style>
<link rel="stylesheet" href="{{ base_url }}/assets/stylesheets/application-3a649dbde3.css">
<link rel="stylesheet" href="{{ base_url }}/assets/stylesheets/application-f5ffeca01e.css">
{% if config.extra.font != 'none' %}
{% set text = 'Ubuntu' %}
{% if config.extra.font and config.extra.font.text %}

View File

@ -2,5 +2,5 @@
"assets/images/favicon.ico": "assets/images/favicon-e565ddfa3b.ico",
"assets/javascripts/application.js": "assets/javascripts/application-c6d2e828bd.js",
"assets/javascripts/modernizr.js": "assets/javascripts/modernizr-4ab42b99fd.js",
"assets/stylesheets/application.css": "assets/stylesheets/application-3a649dbde3.css"
"assets/stylesheets/application.css": "assets/stylesheets/application-f5ffeca01e.css"
}

Binary file not shown.

View File

@ -1,296 +1,348 @@
{
"IcoMoonType": "selection",
"icons": [
{
"icon": {
"paths": [
"M661.333 597.333h-33.92l-11.733-11.733c41.813-48.427 66.987-111.36 66.987-180.267 0-153.173-124.16-277.333-277.333-277.333s-277.333 124.16-277.333 277.333 124.16 277.333 277.333 277.333c68.907 0 131.84-25.173 180.267-66.773l11.733 11.733v33.707l213.333 212.907 63.573-63.573-212.907-213.333zM405.333 597.333c-106.027 0-192-85.973-192-192s85.973-192 192-192 192 85.973 192 192-85.973 192-192 192z"
],
"attrs": [],
"isMulticolor": false,
"tags": [
"search"
],
"grid": 24
},
"attrs": [],
"properties": {
"id": 0,
"order": 7,
"prevSize": 24,
"code": 58880,
"name": "search"
},
"setIdx": 1,
"setId": 4,
"iconIdx": 0
},
{
"icon": {
"paths": [
"M853.333 469.333h-519.253l238.293-238.293-60.373-60.373-341.333 341.333 341.333 341.333 60.373-60.373-238.293-238.293h519.253v-85.333z"
],
"attrs": [],
"isMulticolor": false,
"tags": [
"arrow-back"
],
"grid": 24
},
"attrs": [],
"properties": {
"id": 1,
"order": 4,
"prevSize": 24,
"code": 58881,
"name": "arrow-back"
},
"setIdx": 1,
"setId": 4,
"iconIdx": 1
},
{
"icon": {
"paths": [
"M426.667 256l-60.373 60.373 195.627 195.627-195.627 195.627 60.373 60.373 256-256z"
],
"attrs": [],
"isMulticolor": false,
"tags": [
"chevron-right"
],
"grid": 24
},
"attrs": [],
"properties": {
"id": 2,
"order": 9,
"prevSize": 24,
"code": 58882,
"name": "chevron-right"
},
"setIdx": 1,
"setId": 4,
"iconIdx": 2
},
{
"icon": {
"paths": [
"M810.667 273.707l-60.373-60.373-238.293 238.293-238.293-238.293-60.373 60.373 238.293 238.293-238.293 238.293 60.373 60.373 238.293-238.293 238.293 238.293 60.373-60.373-238.293-238.293z"
],
"attrs": [],
"isMulticolor": false,
"tags": [
"close"
],
"grid": 24
},
"attrs": [],
"properties": {
"id": 3,
"order": 8,
"prevSize": 24,
"code": 58883,
"name": "close"
},
"setIdx": 1,
"setId": 4,
"iconIdx": 3
},
{
"icon": {
"paths": [
"M128 768h768v-85.333h-768v85.333zM128 554.667h768v-85.333h-768v85.333zM128 256v85.333h768v-85.333h-768z"
],
"attrs": [],
"isMulticolor": false,
"tags": [
"menu"
],
"grid": 24
},
"attrs": [],
"properties": {
"id": 4,
"order": 10,
"prevSize": 24,
"code": 58884,
"name": "menu"
},
"setIdx": 1,
"setId": 4,
"iconIdx": 4
},
{
"icon": {
"paths": [
"M512 170.667l-60.373 60.373 238.293 238.293h-519.253v85.333h519.253l-238.293 238.293 60.373 60.373 341.333-341.333z"
],
"attrs": [],
"isMulticolor": false,
"tags": [
"arrow-forward"
],
"grid": 24
},
"attrs": [],
"properties": {
"id": 5,
"order": 15,
"prevSize": 24,
"code": 58885,
"name": "arrow-forward"
},
"setIdx": 1,
"setId": 4,
"iconIdx": 5
},
{
"icon": {
"paths": [
"M1024 194.418c-37.676 16.708-78.164 28.002-120.66 33.080 43.372-26 76.686-67.17 92.372-116.23-40.596 24.078-85.556 41.56-133.41 50.98-38.32-40.83-92.922-66.34-153.346-66.34-116.022 0-210.088 94.058-210.088 210.078 0 16.466 1.858 32.5 5.44 47.878-174.6-8.764-329.402-92.4-433.018-219.506-18.084 31.028-28.446 67.116-28.446 105.618 0 72.888 37.088 137.192 93.46 174.866-34.438-1.092-66.832-10.542-95.154-26.278-0.020 0.876-0.020 1.756-0.020 2.642 0 101.788 72.418 186.696 168.522 206-17.626 4.8-36.188 7.372-55.348 7.372-13.538 0-26.698-1.32-39.528-3.772 26.736 83.46 104.32 144.206 196.252 145.896-71.9 56.35-162.486 89.934-260.916 89.934-16.958 0-33.68-0.994-50.116-2.94 92.972 59.61 203.402 94.394 322.042 94.394 386.422 0 597.736-320.124 597.736-597.744 0-9.108-0.206-18.168-0.61-27.18 41.056-29.62 76.672-66.62 104.836-108.748z"
],
"attrs": [],
"isMulticolor": false,
"tags": [
"twitter",
"brand",
"tweet",
"social"
],
"defaultCode": 58525,
"grid": 24
},
"attrs": [],
"properties": {
"id": 6,
"order": 9,
"prevSize": 24,
"code": 58886,
"ligatures": "twitter, brand11",
"name": "twitter"
},
"setIdx": 1,
"setId": 4,
"iconIdx": 6
},
{
"icon": {
"paths": [
"M810.667 384h-170.667v-256h-256v256h-170.667l298.667 298.667 298.667-298.667zM213.333 768v85.333h597.333v-85.333h-597.333z"
],
"attrs": [],
"isMulticolor": false,
"tags": [
"file-download"
],
"grid": 24
},
"attrs": [],
"properties": {
"id": 7,
"order": 10,
"prevSize": 24,
"code": 58888,
"name": "download"
},
"setIdx": 1,
"setId": 4,
"iconIdx": 7
},
{
"icon": {
"paths": [
"M512 736.853l263.68 159.147-69.973-299.947 232.96-201.813-306.773-26.027-119.893-282.88-119.893 282.88-306.773 26.027 232.96 201.813-69.973 299.947z"
],
"attrs": [],
"isMulticolor": false,
"tags": [
"star"
],
"grid": 24
},
"attrs": [],
"properties": {
"id": 8,
"order": 9,
"prevSize": 24,
"code": 58889,
"name": "star"
},
"setIdx": 1,
"setId": 4,
"iconIdx": 8
},
{
"icon": {
"paths": [
"M512.008 12.642c-282.738 0-512.008 229.218-512.008 511.998 0 226.214 146.704 418.132 350.136 485.836 25.586 4.738 34.992-11.11 34.992-24.632 0-12.204-0.48-52.542-0.696-95.324-142.448 30.976-172.504-60.41-172.504-60.41-23.282-59.176-56.848-74.916-56.848-74.916-46.452-31.778 3.51-31.124 3.51-31.124 51.4 3.61 78.476 52.766 78.476 52.766 45.672 78.27 119.776 55.64 149.004 42.558 4.588-33.086 17.852-55.68 32.506-68.464-113.73-12.942-233.276-56.85-233.276-253.032 0-55.898 20.004-101.574 52.76-137.428-5.316-12.9-22.854-64.972 4.952-135.5 0 0 43.006-13.752 140.84 52.49 40.836-11.348 84.636-17.036 128.154-17.234 43.502 0.198 87.336 5.886 128.256 17.234 97.734-66.244 140.656-52.49 140.656-52.49 27.872 70.528 10.35 122.6 5.036 135.5 32.82 35.856 52.694 81.532 52.694 137.428 0 196.654-119.778 239.95-233.79 252.624 18.364 15.89 34.724 47.046 34.724 94.812 0 68.508-0.596 123.644-0.596 140.508 0 13.628 9.222 29.594 35.172 24.566 203.322-67.776 349.842-259.626 349.842-485.768 0-282.78-229.234-511.998-511.992-511.998z"
],
"attrs": [],
"isMulticolor": false,
"tags": [
"github",
"brand",
"octacat",
"social"
],
"grid": 24
},
"attrs": [],
"properties": {
"order": 27,
"prevSize": 24,
"ligatures": "github, brand40",
"name": "github",
"id": 433,
"code": 58887
},
"setIdx": 5,
"setId": 0,
"iconIdx": 432
}
],
"height": 1024,
"metadata": {
"name": "icon"
},
"preferences": {
"showGlyphs": true,
"showQuickUse": true,
"showQuickUse2": true,
"showSVGs": true,
"fontPref": {
"prefix": "icon-",
"metadata": {
"fontFamily": "icon",
"majorVersion": 1,
"minorVersion": 0
},
"metrics": {
"emSize": 1024,
"baseline": 6.25,
"whitespace": 50
},
"ie7": true,
"showSelector": true,
"selector": "class",
"classSelector": ".icon",
"showMetrics": true,
"showMetadata": true,
"cssVars": true,
"embed": false,
"noie8": false
},
"imagePref": {
"prefix": "icon-",
"png": true,
"useClassSelector": true,
"color": 4473924,
"bgColor": 16777215
},
"historySize": 100,
"showCodes": true,
"gridSize": 16
}
  "IcoMoonType": "selection",
  "icons": [
    {
      "icon": {
        "paths": [
          "M661.333 597.333h-33.92l-11.733-11.733c41.813-48.427 66.987-111.36 66.987-180.267 0-153.173-124.16-277.333-277.333-277.333s-277.333 124.16-277.333 277.333 124.16 277.333 277.333 277.333c68.907 0 131.84-25.173 180.267-66.773l11.733 11.733v33.707l213.333 212.907 63.573-63.573-212.907-213.333zM405.333 597.333c-106.027 0-192-85.973-192-192s85.973-192 192-192 192 85.973 192 192-85.973 192-192 192z"
        ],
        "attrs": [],
        "isMulticolor": false,
        "tags": [
          "search"
        ],
        "grid": 24
      },
      "attrs": [],
      "properties": {
        "id": 0,
        "order": 7,
        "prevSize": 24,
        "code": 58880,
        "name": "search"
      },
      "setIdx": 0,
      "setId": 3,
      "iconIdx": 0
    },
    {
      "icon": {
        "paths": [
          "M853.333 469.333h-519.253l238.293-238.293-60.373-60.373-341.333 341.333 341.333 341.333 60.373-60.373-238.293-238.293h519.253v-85.333z"
        ],
        "attrs": [],
        "isMulticolor": false,
        "tags": [
          "arrow-back"
        ],
        "grid": 24
      },
      "attrs": [],
      "properties": {
        "id": 1,
        "order": 4,
        "prevSize": 24,
        "code": 58881,
        "name": "arrow-back"
      },
      "setIdx": 0,
      "setId": 3,
      "iconIdx": 1
    },
    {
      "icon": {
        "paths": [
          "M426.667 256l-60.373 60.373 195.627 195.627-195.627 195.627 60.373 60.373 256-256z"
        ],
        "attrs": [],
        "isMulticolor": false,
        "tags": [
          "chevron-right"
        ],
        "grid": 24
      },
      "attrs": [],
      "properties": {
        "id": 2,
        "order": 9,
        "prevSize": 24,
        "code": 58882,
        "name": "chevron-right"
      },
      "setIdx": 0,
      "setId": 3,
      "iconIdx": 2
    },
    {
      "icon": {
        "paths": [
          "M810.667 273.707l-60.373-60.373-238.293 238.293-238.293-238.293-60.373 60.373 238.293 238.293-238.293 238.293 60.373 60.373 238.293-238.293 238.293 238.293 60.373-60.373-238.293-238.293z"
        ],
        "attrs": [],
        "isMulticolor": false,
        "tags": [
          "close"
        ],
        "grid": 24
      },
      "attrs": [],
      "properties": {
        "id": 3,
        "order": 8,
        "prevSize": 24,
        "code": 58883,
        "name": "close"
      },
      "setIdx": 0,
      "setId": 3,
      "iconIdx": 3
    },
    {
      "icon": {
        "paths": [
          "M128 768h768v-85.333h-768v85.333zM128 554.667h768v-85.333h-768v85.333zM128 256v85.333h768v-85.333h-768z"
        ],
        "attrs": [],
        "isMulticolor": false,
        "tags": [
          "menu"
        ],
        "grid": 24
      },
      "attrs": [],
      "properties": {
        "id": 4,
        "order": 10,
        "prevSize": 24,
        "code": 58884,
        "name": "menu"
      },
      "setIdx": 0,
      "setId": 3,
      "iconIdx": 4
    },
    {
      "icon": {
        "paths": [
          "M512 170.667l-60.373 60.373 238.293 238.293h-519.253v85.333h519.253l-238.293 238.293 60.373 60.373 341.333-341.333z"
        ],
        "attrs": [],
        "isMulticolor": false,
        "tags": [
          "arrow-forward"
        ],
        "grid": 24
      },
      "attrs": [],
      "properties": {
        "id": 5,
        "order": 15,
        "prevSize": 24,
        "code": 58885,
        "name": "arrow-forward"
      },
      "setIdx": 0,
      "setId": 3,
      "iconIdx": 5
    },
    {
      "icon": {
        "paths": [
          "M1024 194.418c-37.676 16.708-78.164 28.002-120.66 33.080 43.372-26 76.686-67.17 92.372-116.23-40.596 24.078-85.556 41.56-133.41 50.98-38.32-40.83-92.922-66.34-153.346-66.34-116.022 0-210.088 94.058-210.088 210.078 0 16.466 1.858 32.5 5.44 47.878-174.6-8.764-329.402-92.4-433.018-219.506-18.084 31.028-28.446 67.116-28.446 105.618 0 72.888 37.088 137.192 93.46 174.866-34.438-1.092-66.832-10.542-95.154-26.278-0.020 0.876-0.020 1.756-0.020 2.642 0 101.788 72.418 186.696 168.522 206-17.626 4.8-36.188 7.372-55.348 7.372-13.538 0-26.698-1.32-39.528-3.772 26.736 83.46 104.32 144.206 196.252 145.896-71.9 56.35-162.486 89.934-260.916 89.934-16.958 0-33.68-0.994-50.116-2.94 92.972 59.61 203.402 94.394 322.042 94.394 386.422 0 597.736-320.124 597.736-597.744 0-9.108-0.206-18.168-0.61-27.18 41.056-29.62 76.672-66.62 104.836-108.748z"
        ],
        "attrs": [],
        "isMulticolor": false,
        "tags": [
          "twitter",
          "brand",
          "tweet",
          "social"
        ],
        "defaultCode": 58525,
        "grid": 24
      },
      "attrs": [],
      "properties": {
        "id": 6,
        "order": 9,
        "prevSize": 24,
        "code": 58886,
        "ligatures": "twitter, brand11",
        "name": "twitter"
      },
      "setIdx": 0,
      "setId": 3,
      "iconIdx": 6
    },
    {
      "icon": {
        "paths": [
          "M810.667 384h-170.667v-256h-256v256h-170.667l298.667 298.667 298.667-298.667zM213.333 768v85.333h597.333v-85.333h-597.333z"
        ],
        "attrs": [],
        "isMulticolor": false,
        "tags": [
          "file-download"
        ],
        "grid": 24
      },
      "attrs": [],
      "properties": {
        "id": 7,
        "order": 10,
        "prevSize": 24,
        "code": 58888,
        "name": "download"
      },
      "setIdx": 0,
      "setId": 3,
      "iconIdx": 7
    },
    {
      "icon": {
        "paths": [
          "M512 736.853l263.68 159.147-69.973-299.947 232.96-201.813-306.773-26.027-119.893-282.88-119.893 282.88-306.773 26.027 232.96 201.813-69.973 299.947z"
        ],
        "attrs": [],
        "isMulticolor": false,
        "tags": [
          "star"
        ],
        "grid": 24
      },
      "attrs": [],
      "properties": {
        "id": 8,
        "order": 9,
        "prevSize": 24,
        "code": 58889,
        "name": "star"
      },
      "setIdx": 0,
      "setId": 3,
      "iconIdx": 8
    },
    {
      "icon": {
        "paths": [
          "M512.008 12.642c-282.738 0-512.008 229.218-512.008 511.998 0 226.214 146.704 418.132 350.136 485.836 25.586 4.738 34.992-11.11 34.992-24.632 0-12.204-0.48-52.542-0.696-95.324-142.448 30.976-172.504-60.41-172.504-60.41-23.282-59.176-56.848-74.916-56.848-74.916-46.452-31.778 3.51-31.124 3.51-31.124 51.4 3.61 78.476 52.766 78.476 52.766 45.672 78.27 119.776 55.64 149.004 42.558 4.588-33.086 17.852-55.68 32.506-68.464-113.73-12.942-233.276-56.85-233.276-253.032 0-55.898 20.004-101.574 52.76-137.428-5.316-12.9-22.854-64.972 4.952-135.5 0 0 43.006-13.752 140.84 52.49 40.836-11.348 84.636-17.036 128.154-17.234 43.502 0.198 87.336 5.886 128.256 17.234 97.734-66.244 140.656-52.49 140.656-52.49 27.872 70.528 10.35 122.6 5.036 135.5 32.82 35.856 52.694 81.532 52.694 137.428 0 196.654-119.778 239.95-233.79 252.624 18.364 15.89 34.724 47.046 34.724 94.812 0 68.508-0.596 123.644-0.596 140.508 0 13.628 9.222 29.594 35.172 24.566 203.322-67.776 349.842-259.626 349.842-485.768 0-282.78-229.234-511.998-511.992-511.998z"
        ],
        "attrs": [],
        "isMulticolor": false,
        "tags": [
          "github",
          "brand",
          "octacat",
          "social"
        ],
        "grid": 24
      },
      "attrs": [],
      "properties": {
        "order": 27,
        "prevSize": 24,
        "ligatures": "github, brand40",
        "name": "github",
        "id": 9,
        "code": 58887
      },
      "setIdx": 0,
      "setId": 3,
      "iconIdx": 9
    },
    {
      "icon": {
        "paths": [
          "M554 598v-172h-84v172h84zM554 768v-86h-84v86h84zM42 896l470-810 470 810h-940z"
        ],
        "attrs": [],
        "isMulticolor": false,
        "tags": [
          "warning"
        ],
        "defaultCode": 57346,
        "grid": 24
      },
      "attrs": [],
      "properties": {
        "order": 11,
        "prevSize": 24,
        "name": "warning",
        "ligatures": "warning",
        "id": 2,
        "code": 58896
      },
      "setIdx": 1,
      "setId": 2,
      "iconIdx": 2
    },
    {
      "icon": {
        "paths": [
          "M614 256h240v426h-300l-16-84h-240v298h-84v-726h384z"
        ],
        "attrs": [],
        "isMulticolor": false,
        "tags": [
          "flag"
        ],
        "defaultCode": 57683,
        "grid": 24
      },
      "attrs": [],
      "properties": {
        "order": 13,
        "prevSize": 24,
        "name": "note",
        "ligatures": "flag",
        "id": 140,
        "code": 58897
      },
      "setIdx": 1,
      "setId": 2,
      "iconIdx": 140
    }
  ],
  "height": 1024,
  "metadata": {
    "name": "icon"
  },
  "preferences": {
    "showGlyphs": true,
    "showQuickUse": true,
    "showQuickUse2": true,
    "showSVGs": true,
    "fontPref": {
      "prefix": "icon-",
      "metadata": {
        "fontFamily": "icon",
        "majorVersion": 1,
        "minorVersion": 0
      },
      "metrics": {
        "emSize": 1024,
        "baseline": 6.25,
        "whitespace": 50
      },
      "ie7": true,
      "showSelector": true,
      "selector": "class",
      "classSelector": ".icon",
      "showMetrics": true,
      "showMetadata": true,
      "cssVars": true,
      "embed": false,
      "noie8": false
    },
    "imagePref": {
      "prefix": "icon-",
      "png": true,
      "useClassSelector": true,
      "color": 4473924,
      "bgColor": 16777215
    },
    "historySize": 100,
    "showCodes": true,
    "gridSize": 16
  }
}

View File

@ -17,4 +17,6 @@
<glyph unicode="&#xe607;" glyph-name="github" d="M512.008 926.025c-282.738 0-512.008-229.218-512.008-511.998 0-226.214 146.704-418.132 350.136-485.836 25.586-4.738 34.992 11.11 34.992 24.632 0 12.204-0.48 52.542-0.696 95.324-142.448-30.976-172.504 60.41-172.504 60.41-23.282 59.176-56.848 74.916-56.848 74.916-46.452 31.778 3.51 31.124 3.51 31.124 51.4-3.61 78.476-52.766 78.476-52.766 45.672-78.27 119.776-55.64 149.004-42.558 4.588 33.086 17.852 55.68 32.506 68.464-113.73 12.942-233.276 56.85-233.276 253.032 0 55.898 20.004 101.574 52.76 137.428-5.316 12.9-22.854 64.972 4.952 135.5 0 0 43.006 13.752 140.84-52.49 40.836 11.348 84.636 17.036 128.154 17.234 43.502-0.198 87.336-5.886 128.256-17.234 97.734 66.244 140.656 52.49 140.656 52.49 27.872-70.528 10.35-122.6 5.036-135.5 32.82-35.856 52.694-81.532 52.694-137.428 0-196.654-119.778-239.95-233.79-252.624 18.364-15.89 34.724-47.046 34.724-94.812 0-68.508-0.596-123.644-0.596-140.508 0-13.628 9.222-29.594 35.172-24.566 203.322 67.776 349.842 259.626 349.842 485.768 0 282.78-229.234 511.998-511.992 511.998z" />
<glyph unicode="&#xe608;" glyph-name="download" d="M810.667 554.667h-170.667v256h-256v-256h-170.667l298.667-298.667 298.667 298.667zM213.333 170.667v-85.333h597.333v85.333h-597.333z" />
<glyph unicode="&#xe609;" glyph-name="star" d="M512 201.814l263.68-159.147-69.973 299.947 232.96 201.813-306.773 26.027-119.893 282.88-119.893-282.88-306.773-26.027 232.96-201.813-69.973-299.947z" />
<glyph unicode="&#xe610;" glyph-name="warning" d="M554 340.667v172h-84v-172h84zM554 170.667v86h-84v-86h84zM42 42.667l470 810 470-810h-940z" />
<glyph unicode="&#xe611;" glyph-name="hint" d="M614 682.667h240v-426h-300l-16 84h-240v-298h-84v726h384z" />
</font></defs></svg>

Before

Width:  |  Height:  |  Size: 4.0 KiB

After

Width:  |  Height:  |  Size: 4.3 KiB

Binary file not shown.

Binary file not shown.

View File

@ -127,4 +127,18 @@
*/
.icon-star:before {
content: "\e609";
}
/*
* Warning icon
*/
.icon-warning:before {
content: "\e610";
}
/*
* Star icon
*/
.icon-note:before {
content: "\e611";
}

View File

@ -150,7 +150,8 @@
* Admonition support
*/
.admonition {
background: mix($light-blue-500, $white, 10%);
background: $light-blue-400;
color: $white;
/*
* Embedded code blocks
@ -163,6 +164,6 @@
* A warning hint
*/
&.warning {
background: mix($red-500, $white, 10%);
background: $red-400;
}
}

View File

@ -530,4 +530,31 @@
margin: 20px -24px 0;
padding: 20px 24px;
}
/*
* Admonition title, if given
*/
.admonition-title {
font-size: 20px;
/*
* Default icon
*/
&:before {
content: "\e611";
display: block;
float: left;
font-family: 'Icon';
font-size: 24px;
vertical-align: -0.1em;
margin-right: 5px;
}
}
/*
* Warning icon
*/
&.warning .admonition-title:before {
content: "\e610";
}
}

View File

@ -45,13 +45,6 @@
}
}
/*
* Admonition support
*/
.admonition-title {
font-weight: 700;
}
/*
* Permalink support
*/