-
Notifications
You must be signed in to change notification settings - Fork 1k
/
Copy pathnutshell.scss
executable file
·111 lines (93 loc) · 2.95 KB
/
nutshell.scss
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
110
111
// NUTSHELL
//------------------------------------------------
//------------------------------------------------
.nutshell {
background: $gray;
.heading-line {
h2 {
span {
background: $gray;
}
}
}
.scala-items-list {
.items-menu {
.scala-item {
@include span-columns(4);
@include omega(3n);
padding: $padding-small;
text-align: center;
transition: $base-transition;
@include bp(medium) {
@include span-columns(12);
}
min-height: 165px;
h3 {
color: #fff;
font-size: $font-size-h3;
text-transform: uppercase;
font-family: $base-font-family;
margin-bottom: 10px;
}
p {
color: $base-font-color-inverse;
font-size: $font-size-large;
}
&:active,
&:focus,
&:hover {
cursor: pointer;
background: $gray-dark;
}
&.active {
background: $gray-dark;
}
}
.items-content {
background: $gray-dark;
transition: $base-transition;
.items-code {
display: none;
background: $gray-dark;
padding: 65px 0;
.scala-code {
@include span-columns(6);
@include bp(large) {
@include span-columns(12);
}
}
.scala-text {
code {
background: $gray-darker;
padding: 2px 8px;
color: #859900;
border-radius: 2px;
margin: 0 3px;
}
@include span-columns(6);
@include bp(large) {
@include span-columns(12);
}
h3 {
font-size: 1.625rem;
color: #fff;
margin-bottom: 20px;
}
p {
color: $base-font-color-inverse;
}
&.scala-text-large {
@include span-columns(12);
margin-bottom: 30px;
}
}
}
}
}
}
.scala-item-expanded {
display: none;
height: 400px;
background: $gray-dark;
}
}