-
Notifications
You must be signed in to change notification settings - Fork 0
/
style_styl.styl
109 lines (105 loc) · 1.68 KB
/
style_styl.styl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
@import 'jeet/framework'
@import 'jeet/goodies'
* { transition: all .25s ease-in; }
.cf
cf()
.container
center(960px)
position: relative
#main-header
col(1,1,1)
> div
span()
a
col(27,96)
&:nth-child(2)
span(42,96)
img
width 100%
cf()
> nav
span()
padding-left: 50px
padding-right: get(1,96)
position: relative
background: #F5F5F5
> a, > input
border-right 1px solid #DDD
line-height: 2
> a
text-align center
text-decoration: none
span(9,91)
&:nth-of-type(1)
width 50px
position: absolute
left 0
top 0
&:nth-of-type(4)
span(12,91)
&:nth-of-type(5)
span(13,91)
&:nth-of-type(8)
span(8,91)
> input
span(12, 91)
// width get(12,91) !important
padding 0px 2px
border-bottom none
border-left none
border-top none
#main-container
> aside
position: absolute
width 50px
background blue
height 100%
display block
> div
padding-left 50px;
col()
> .slider
span()
position: relative
margin-top: 10px
margin-bottom: 10px
> a
span(8,89)
position: absolute
background gray
height 100%
&:nth-of-type(1)
left 0
&:nth-of-type(2)
right 0
> div img
span(73, 89)
off(8, 89, l, s)
> .news-column > div
col(1,3,3)
article
background #e9e9e9
margin-bottom 10px
span()
> img
span()
// Mobile
bp()
#main-header
> div > a
display none
&:nth-of-type(2)
display block
span()
> nav
padding 0
> nav > input
display none
> nav > a
border-right none
stack()
&:nth-of-type(1), &:nth-of-type(4), &:nth-of-type(5), &:nth-of-type(8)
stack()
#main-container > div > .news-column > div
stack()
endbp()