提交 2fd22bdd 编写于 作者: C codecalm

Merge remote-tracking branch 'origin/dev-avatars-ribbons-flags' into dev-avatars-ribbons-flags

# Conflicts:
#	pages/_docs/flags.md
...@@ -48,7 +48,7 @@ You can also use icons in avatars. ...@@ -48,7 +48,7 @@ You can also use icons in avatars.
### Avatar initials color ### Avatar initials color
Customize the color of the avatars' background. You can click You can click [here]({% docs_url colors %}) to see the list of available colors. Customize the color of the avatars' background. You can click [here]({% docs_url colors %}) to see the list of available colors.
{% example html wrapper=avatar-list %} {% example html wrapper=avatar-list %}
{% include ui/avatar.html placeholder="AB" color="green" %} {% include ui/avatar.html placeholder="AB" color="green" %}
......
...@@ -15,11 +15,7 @@ done: true ...@@ -15,11 +15,7 @@ done: true
### Flag sizes ### Flag sizes
Change the flag size. Using Bootstrap’s typical naming structure, you can create a standard flag, or scale it up to different sizes based on what’s needed.
- `xl` - large
- `mr` - big
- `md` - medium
{% example html %} {% example html %}
{% include ui/flag.html flag="pl" class="flag-size-xl mr-1" %} {% include ui/flag.html flag="pl" class="flag-size-xl mr-1" %}
...@@ -30,7 +26,7 @@ Change the flag size. ...@@ -30,7 +26,7 @@ Change the flag size.
### Types ### Types
To set the flag of the country you want add a class flag-(country name). For example to create a flag of Andorra your class should look like this: flag-ad. To set the flag of the country you want add a class `flag-(country name)`. For example to create a flag of Andorra your class should look like this: `.flag-ad`.
<table> <table>
{% for flag in site.data.flags %} {% for flag in site.data.flags %}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册