Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
知鸟1号
tabler
提交
ddebdae2
T
tabler
项目概览
知鸟1号
/
tabler
与 Fork 源项目一致
从无法访问的项目Fork
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
T
tabler
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
ddebdae2
编写于
2月 16, 2020
作者:
C
codecalm
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
docs examples
上级
cde7a650
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
9 addition
and
6 deletion
+9
-6
pages/_docs/cards.md
pages/_docs/cards.md
+5
-5
pages/_includes/example.html
pages/_includes/example.html
+2
-0
scss/_variables.scss
scss/_variables.scss
+1
-1
scss/demo/_examples.scss
scss/demo/_examples.scss
+1
-0
未找到文件。
pages/_docs/cards.md
浏览文件 @
ddebdae2
...
...
@@ -83,7 +83,7 @@ If you want to create a couple of posts next to each other, add the `.row-deck`
</div>
</div>
{% endcapture %}
{% include example.html code=code %}
{% include example.html code=code
columns=2
%}
## Post card with aside image
...
...
@@ -92,7 +92,7 @@ You can also add the image on the left side of the card. All you need do to is:
{% capture code %}
{% include cards/blog-single.html type="aside" liked=1 article-id=3 %}
{% endcapture %}
{% include example.html code=code %}
{% include example.html code=code
columns=2
%}
## Color variations
...
...
@@ -106,19 +106,19 @@ You can also add the image on the left side of the card. All you need do to is:
</div>
</div>
{% endcapture %}
{% include example.html code=code %}
{% include example.html code=code
columns=2
%}
## Stacked card
{% capture code %}
{% include cards/card.html class="card-stacked" title="Stacked card" %}
{% endcapture %}
{% include example.html code=code %}
{% include example.html code=code
columns=1
%}
## Tabbed card
{% capture code %}
{% include cards/card-tabs.html count=4 %}
{% endcapture %}
{% include example.html code=code %}
{% include example.html code=code
columns=2
%}
pages/_includes/example.html
浏览文件 @
ddebdae2
...
...
@@ -16,6 +16,8 @@
{% assign code = code | replace_regex: "\n\n+", new_line %}
{% assign code = code | replace_regex: '
<svg
[^
>
]*>.*?
<
\/
svg
>
', '
<!-- SVG icon code -->
' %}
{% assign code = code | replace_regex: 'url\(([^\)]+)\)', 'url(...)' %}
{% assign code = code | replace_regex: 'src="([^"]+)"', 'src="..."' %}
{% assign code = code | replace_regex: 'href="([^#][^"]+)"', 'href="#"' %}
{% assign code = code | htmlbeautifier %}
<div
class=
"example-code"
>
...
...
scss/_variables.scss
浏览文件 @
ddebdae2
...
...
@@ -55,7 +55,7 @@ $white: #ffffff !default;
$body-bg
:
$light
!
default
;
$body-color
:
$dark
!
default
;
$text-muted-opacity
:
.6
4
!
default
;
$text-muted-opacity
:
.6
0
!
default
;
$text-muted
:
mix
(
$body-color
,
#ffffff
,
$text-muted-opacity
*
100%
)
!
default
;
$border-color
:
rgba
(
$text-muted
,
.24
)
!
default
;
...
...
scss/demo/_examples.scss
浏览文件 @
ddebdae2
...
...
@@ -21,6 +21,7 @@
font-size
:
$font-size-base
;
color
:
$body-color
;
flex
:
1
;
max-width
:
100%
;
}
.example-bg
{
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录