Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
黛琳ghz
2048
提交
61f20ace
2048
项目概览
黛琳ghz
/
2048
与 Fork 源项目一致
从无法访问的项目Fork
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
2048
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
提交
61f20ace
编写于
3月 05, 2014
作者:
G
Gabriele Cirulli
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
adjust font sizes, add transition and cursor states
上级
5e41f41a
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
30 addition
and
3 deletion
+30
-3
style/helpers.scss
style/helpers.scss
+11
-0
style/main.css
style/main.css
+10
-2
style/main.scss
style/main.scss
+9
-1
未找到文件。
style/helpers.scss
浏览文件 @
61f20ace
...
@@ -19,3 +19,14 @@
...
@@ -19,3 +19,14 @@
@function
pow
(
$base
,
$exponent
)
{
@function
pow
(
$base
,
$exponent
)
{
@return
exponent
(
$base
,
$exponent
);
@return
exponent
(
$base
,
$exponent
);
}
}
// Transition mixins
@mixin
transition
(
$args
...
)
{
-webkit-transition
:
$args
;
-moz-transition
:
$args
;
}
@mixin
transition-property
(
$args
...
)
{
-webkit-transition-property
:
$args
;
-moz-transition-property
:
$args
;
}
style/main.css
浏览文件 @
61f20ace
...
@@ -22,6 +22,10 @@ h1 {
...
@@ -22,6 +22,10 @@ h1 {
margin-top
:
50px
;
margin-top
:
50px
;
position
:
relative
;
position
:
relative
;
padding
:
15px
;
padding
:
15px
;
cursor
:
default
;
-webkit-touch-callout
:
none
;
-webkit-user-select
:
none
;
-moz-user-select
:
none
;
background
:
#bbada0
;
background
:
#bbada0
;
border-radius
:
6px
;
border-radius
:
6px
;
width
:
500px
;
width
:
500px
;
...
@@ -63,8 +67,12 @@ h1 {
...
@@ -63,8 +67,12 @@ h1 {
background
:
#eee4da
;
background
:
#eee4da
;
text-align
:
center
;
text-align
:
center
;
line-height
:
116.25px
;
line-height
:
116.25px
;
font-size
:
60px
;
font-size
:
55px
;
font-weight
:
bold
;
}
font-weight
:
bold
;
-webkit-transition
:
200ms
ease
;
-moz-transition
:
200ms
ease
;
-webkit-transition-property
:
top
,
left
;
-moz-transition-property
:
top
,
left
;
}
.tile.tile-position-1-1
{
.tile.tile-position-1-1
{
position
:
absolute
;
position
:
absolute
;
left
:
0px
;
left
:
0px
;
...
...
style/main.scss
浏览文件 @
61f20ace
...
@@ -39,6 +39,11 @@ h1 {
...
@@ -39,6 +39,11 @@ h1 {
position
:
relative
;
position
:
relative
;
padding
:
$grid-spacing
;
padding
:
$grid-spacing
;
cursor
:
default
;
-webkit-touch-callout
:
none
;
-webkit-user-select
:
none
;
-moz-user-select
:
none
;
background
:
#bbada0
;
background
:
#bbada0
;
border-radius
:
$tile-border-radius
*
2
;
border-radius
:
$tile-border-radius
*
2
;
width
:
$field-width
;
width
:
$field-width
;
...
@@ -94,9 +99,12 @@ h1 {
...
@@ -94,9 +99,12 @@ h1 {
background
:
$tile-color
;
background
:
$tile-color
;
text-align
:
center
;
text-align
:
center
;
line-height
:
$tile-size
+
10px
;
line-height
:
$tile-size
+
10px
;
font-size
:
60
px
;
font-size
:
55
px
;
font-weight
:
bold
;
font-weight
:
bold
;
@include
transition
(
200ms
ease
);
@include
transition-property
(
top
,
left
);
@for
$x
from
1
through
$grid-row-cells
{
@for
$x
from
1
through
$grid-row-cells
{
@for
$y
from
1
through
$grid-row-cells
{
@for
$y
from
1
through
$grid-row-cells
{
&
.tile-position-
#{
$x
}
-
#{
$y
}
{
&
.tile-position-
#{
$x
}
-
#{
$y
}
{
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录