Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
keras-team
GitHub Repository: keras-team/keras-io
Path: blob/master/theme/css/index.css
3281 views
1
@import url("icons.css");
2
@import url("colors.css");
3
4
body {
5
font-family: "Montserrat", sans-serif;
6
margin: 0;
7
}
8
9
.page__container {
10
margin: 72px auto auto;
11
}
12
13
a {
14
cursor: pointer;
15
display: inline-block;
16
height: fit-content;
17
text-decoration: none;
18
width: fit-content;
19
}
20
21
a:hover {
22
color: var(--text-red);
23
}
24
25
button {
26
cursor: pointer;
27
display: inline-block;
28
height: fit-content;
29
width: fit-content;
30
}
31
32
.button__round {
33
background: #ffffff25;
34
border: 0;
35
border-radius: 20px;
36
color: var(--white);
37
font-size: 16px;
38
font-weight: 700;
39
line-height: 24px;
40
padding: 8px 24px;
41
}
42
43
.button__round:hover {
44
background: #ffffffbf;
45
color: var(--text-red);
46
}
47
48
.button__square {
49
font-size: 14px;
50
font-weight: 700;
51
line-height: 20px;
52
padding: 12px 18px;
53
}
54
55
.button__square--white {
56
background: var(--white);
57
border: 1px solid var(--border-grey);
58
color: var(--text-red);
59
}
60
61
.button__square--white:hover {
62
background: var(--text-red);
63
color: var(--white);
64
text-decoration: none;
65
}
66
67
.button__square--red {
68
background: var(--medium-red);
69
color: var(--white);
70
}
71
72
.button__square--red:hover {
73
background: #9e9e9e;
74
color: var(--text-red);
75
}
76
77
.button__square--transparent {
78
background: transparent;
79
}
80
81
.button__square--transparent:hover {
82
box-shadow: 0px 2px 3px 0px #0000004d;
83
box-shadow: 0px 6px 10px 4px #00000026;
84
}
85
86
.button__square--shadow {
87
box-shadow: 4px 4px 15px 0px #00000040;
88
}
89
90
.button__square--colab {
91
background: var(--grey-blue);
92
border-radius: 4px;
93
color: var(--white);
94
display: flex;
95
font-size: 14px;
96
gap: 12px;
97
justify-content: center;
98
padding: 8px;
99
width: 176px;
100
}
101
102
.button__square--colab:hover {
103
color: var(--white);
104
}
105
106
input[type="search"]::-webkit-search-cancel-button,
107
input[type="search"]::-webkit-search-decoration,
108
input[type="search"]::-webkit-search-results-button,
109
input[type="search"]::-webkit-search-results-decoration,
110
input[type="search"]::-webkit-inner-spin-button {
111
-webkit-appearance: none;
112
}
113
114
input[type="search"]::-moz-clear {
115
display: none;
116
}
117
118
input[type="search"]::-ms-clear {
119
display: none;
120
}
121
122
p {
123
margin: 0;
124
}
125
126
.text--white {
127
color: var(--white);
128
}
129
130
.text--white:hover {
131
color: var(--white);
132
}
133
134
.text--black {
135
color: var(--text-black);
136
}
137
138
.text--red {
139
color: var(--text-red);
140
}
141
142
/* Prism */
143
pre[class*="language-"] {
144
background: var(--code-background);
145
border-radius: 8px 8px 0 0;
146
margin: 0;
147
padding: 2em 1.2em;
148
text-shadow: none;
149
overflow-y: hidden;
150
}
151
152
code[class*="language-"] {
153
color: var(--code-foreground);
154
font-family: "Roboto Mono", monospace;
155
font-size: 14px;
156
text-shadow: none;
157
}
158
159
code[class*="language-"] * {
160
background: inherit !important;
161
}
162
163
.footer__container div {
164
transform: translateY(2px);
165
}
166
167
@media only screen and (max-width: 1199px) {
168
h1 {
169
font-weight: 700;
170
font-size: 40px;
171
line-height: 56px;
172
letter-spacing: 0%;
173
margin: 0;
174
}
175
176
h2 {
177
font-weight: 700;
178
font-size: 32px;
179
letter-spacing: 0%;
180
line-height: 40.96px;
181
margin: 0;
182
}
183
}
184
185
@media only screen and (min-width: 1200px) {
186
code[class*="language-"] {
187
font-size: 14px;
188
}
189
190
h1 {
191
font-size: 72px;
192
font-weight: 700;
193
margin: 0;
194
}
195
196
h2 {
197
line-height: 52px;
198
font-size: 40px;
199
font-weight: 700;
200
margin: 0;
201
}
202
203
h3 {
204
color: var(--text-red);
205
font-size: 24px;
206
line-height: 31.2px;
207
margin: 0;
208
}
209
210
h4 {
211
color: var(--text-red);
212
font-size: 18px;
213
line-height: 24px;
214
margin: 0;
215
}
216
217
.page__container {
218
margin-top: 86px;
219
}
220
221
.button__square {
222
padding: 12px 24px;
223
}
224
225
.footer__container {
226
margin: auto;
227
max-width: 1440px;
228
padding: 16px 64px;
229
}
230
}
231
232