forked from adafruit/circuitpython-org
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path_start.scss
More file actions
110 lines (93 loc) · 1.83 KB
/
_start.scss
File metadata and controls
110 lines (93 loc) · 1.83 KB
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
#start-page {
@include readable-content;
grid-row-grap: 1em;
background-color: #fff;
font-size: 24px;
.content-block {
grid-column: full;
padding: 20px 20px 20px 50px;
margin-bottom: 5px;
font-weight: 500;
h2 {
font-size: 32px;
}
}
.start-section {
grid-column: full;
.banner {
padding: 20px 50px 20px 50px;
margin-bottom: 5px;
h3 {
font-size: 60px;
margin: 0;
color: #fff;
}
&.purple {
background-color: #63338f;
}
}
.tab-block {
display: grid;
grid-template-columns: 25% 75%;
padding: 0 50px 0 50px;
.tab-links {
list-style-type: none;
padding: 0;
a {
font-weight: 500;
color: #63338f;
padding-left: 15px;
&.active {
color: #000;
border-left: 5px solid #000;
padding-left: 10px;
}
}
}
.tab-content {
display: none;
grid-template-columns: 20% 80%;
column-gap: 20px;
padding-top: 20px;
&.active {
display: grid;
}
img {
display: block;
max-width: 100%;
max-height: 100%;
object-fit: contain;
}
.details {
h4 {
font-size: 24px;
margin: 0;
}
p, ol {
font-size: 18px;
}
}
}
}
}
}
@media (max-width: $screen-xs-max) {
#start-page {
.start-section {
.tab-block {
grid-template-columns: 1fr;
padding: 0 20px;
.tab-links {
display: none;
}
.tab-content {
display: grid;
grid-template-columns: 1fr;
img {
display: none;
}
}
}
}
}
}