Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
leizi929
Sortable
提交
b7d2614c
S
Sortable
项目概览
leizi929
/
Sortable
与 Fork 源项目一致
从无法访问的项目Fork
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
S
Sortable
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
b7d2614c
编写于
6月 21, 2019
作者:
O
owen-m1
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
add back carbon ads
上级
4b3b7e06
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
151 addition
and
0 deletion
+151
-0
index.html
index.html
+4
-0
st/carbon.css
st/carbon.css
+147
-0
未找到文件。
index.html
浏览文件 @
b7d2614c
...
...
@@ -6,6 +6,7 @@
<link
rel=
"stylesheet"
href=
"https://stackpath.bootstrapcdn.com/bootstrap/4.2.1/css/bootstrap.min.css"
integrity=
"sha384-GJzZqFGwb1QTTN6wy59ffF1BuGJpLSa9DkKMp0DgiMDm4iYMj70gZWKYbI706tWS"
crossorigin=
"anonymous"
>
<link
rel=
"stylesheet"
href=
"https://use.fontawesome.com/releases/v5.6.3/css/all.css"
integrity=
"sha384-UHRtZLI+pbxtHCWp1t77Bi1L4ZtiqrqD80Kn4Z8NTSRyMA2Fd33n5dQ8lWUE00s/"
crossorigin=
"anonymous"
>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"st/theme.css"
>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"st/carbon.css"
>
<meta
charset=
"utf-8"
/>
<meta
http-equiv=
"X-UA-Compatible"
content=
"IE=edge"
/>
...
...
@@ -20,6 +21,9 @@
<div
class=
"container"
>
<div
class=
"text-center row header"
>
<div
class=
"col-12 mb-4"
>
<script
async
type=
"text/javascript"
src=
"//cdn.carbonads.com/carbon.js?serve=CK7I65QW&placement=sortablejsgithubio"
id=
"_carbonads_js"
></script>
</div>
<img
class=
"mx-auto d-block"
src=
"st/og-image.png"
style=
"max-width: 200px; max-height: 200px"
/>
<h1
class=
"col-12"
>
SortableJS
</h1>
<h3
class=
"col-12 text-center"
>
JavaScript library for reorderable drag-and-drop lists
</h3>
...
...
st/carbon.css
0 → 100644
浏览文件 @
b7d2614c
@media
(
min-width
:
992px
)
{
#carbonads
{
display
:
block
;
overflow
:
hidden
;
padding
:
10px
;
box-shadow
:
0
1px
3px
hsla
(
0
,
0%
,
0%
,
.05
);
border-radius
:
4px
;
font-family
:
-apple-system
,
BlinkMacSystemFont
,
'Segoe UI'
,
Roboto
,
Oxygen-Sans
,
Ubuntu
,
Cantarell
,
'Helvetica Neue'
,
Helvetica
,
Arial
,
sans-serif
;
line-height
:
1.5
;
max-width
:
300px
;
margin-top
:
50px
;
font-size
:
12px
;
position
:
absolute
;
background-color
:
#fff
;
}
#carbonads
a
{
text-decoration
:
none
;
}
#carbonads
span
{
position
:
relative
;
display
:
block
;
overflow
:
hidden
;
}
.carbon-img
{
float
:
left
;
margin-right
:
1em
;
}
.carbon-img
img
{
display
:
block
;
}
.carbon-text
{
display
:
block
;
float
:
left
;
max-width
:
calc
(
100%
-
130px
-
1em
);
text-align
:
left
;
color
:
#637381
;
}
.carbon-poweredby
{
position
:
absolute
;
left
:
142px
;
bottom
:
0
;
display
:
block
;
font-size
:
8px
;
color
:
#c5cdd0
;
font-weight
:
500
;
text-transform
:
uppercase
;
line-height
:
1
;
letter-spacing
:
1px
;
}
}
@media
(
max-width
:
992px
)
{
#carbonads
{
font-family
:
-apple-system
,
BlinkMacSystemFont
,
"Segoe UI"
,
Roboto
,
Oxygen-Sans
,
Ubuntu
,
Cantarell
,
"Helvetica Neue"
,
Helvetica
,
Arial
,
sans-serif
;
--width
:
728px
;
--font-size
:
22px
;
}
#carbonads
{
display
:
block
;
overflow
:
hidden
;
max-width
:
var
(
--width
);
position
:
relative
;
background-color
:
hsl
(
0
,
0%
,
99%
);
border
:
solid
1px
#eee
;
font-size
:
var
(
--font-size
);
box-sizing
:
border-box
;
}
.detail
#carbonads
{
margin-top
:
12px
;
}
#carbonads
a
{
color
:
inherit
;
text-decoration
:
none
;
}
#carbonads
a
:hover
{
color
:
inherit
;
}
.carbon-wrap
{
display
:
flex
;
align-items
:
center
;
}
carbon-img
{
display
:
block
;
float
:
left
;
margin
:
0
;
max-width
:
var
(
--width
);
line-height
:
1
;
}
.carbon-img
img
{
display
:
block
;
height
:
90px
;
width
:
auto
;
}
.carbon-text
{
display
:
block
;
float
:
left
;
padding
:
0
1em
;
line-height
:
1.35
;
max-width
:
calc
(
100%
-
130px
-
2em
);
text-align
:
left
;
}
.carbon-poweredby
{
display
:
block
;
position
:
absolute
;
bottom
:
0
;
right
:
0
;
padding
:
6px
10px
;
background
:
repeating-linear-gradient
(
-45deg
,
transparent
,
transparent
5px
,
hsla
(
0
,
0%
,
0%
,
0.025
)
5px
,
hsla
(
0
,
0%
,
0%
,
0.025
)
10px
)
hsla
(
203
,
11%
,
95%
,
0.8
);
text-align
:
center
;
text-transform
:
uppercase
;
letter-spacing
:
0.5px
;
font-weight
:
600
;
font-size
:
8px
;
border-top-left-radius
:
4px
;
line-height
:
1
;
}
@media
only
screen
and
(
min-width
:
320px
)
and
(
max-width
:
759px
)
{
.carbon-text
{
font-size
:
14px
;
}
}
}
\ No newline at end of file
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录