forked from pytorch/pytorch.github.io
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathecosystem.scss
133 lines (111 loc) · 2.14 KB
/
ecosystem.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
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
.ecosystem .jumbotron {
height: 170px;
@include desktop {
height: 320px;
}
h1 {
padding-top: rem(35px);
}
p.lead {
margin-bottom: rem(25px);
}
svg {
margin-bottom: rem(20px);
}
}
.ecosystem .main-background {
height: 275px;
@include desktop {
height: 470px;
}
}
.ecosystem .main-content-wrapper {
background-color: $light_grey;
@include desktop {
margin-top: 380px + $desktop_header_height;
}
margin-top: 275px;
}
.ecosystem.ecosystem-detail .main-content-wrapper {
background-color: $white;
}
.ecosystem-cards-wrapper {
margin-bottom: rem(80px);
padding-top: rem(20px);
}
.ecosystem .main-content-menu {
.navbar-nav .nav-link {
font-size: rem(18px);
color: $very_dark_grey;
padding-right: 0;
margin-right: rem(30px);
&.selected {
color: $orange;
border-bottom: 1px solid $orange;
}
}
.nav-item:last-of-type {
@include desktop {
position: absolute;
right: 0;
a {
margin-right: 0;
}
}
}
}
.ecosystem.ecosystem-detail .main-content {
padding-bottom: 0;
}
.ecosystem article.pytorch-article {
counter-reset: article-list;
> ol {
padding-left: 0;
list-style-type: none;
}
> ol > li {
@include max-width-desktop {
position: relative;
&:before {
counter-increment: article-list;
content: counter(article-list, decimal-leading-zero);
color: #B932CC;
line-height: rem(40px);
letter-spacing: -0.34px;
font-size: rem(32px);
font-weight: 300;
position: absolute;
left: -60px;
top: -16px;
padding: rem(10px) 0;
background-color: $white;
z-index: 10;
}
&:after {
content: "";
width: 2px;
position: absolute;
left: -42px;
top: 0;
height: 100%;
background-color: #f3f3f3;
z-index: 9;
}
}
> h4 {
color: $slate;
}
ul li {
list-style-type: disc;
}
}
}
.ecosystem .quick-starts {
background: #ecedf1;
.title-block,
#command,
.option,
.cloud-option {
border-color: #ecedf1;
}
}