blob: 87b8e51a712acb387a168d9934a05a421b7a727b [file] [log] [blame]
/*!
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
/* Typography */
:root {
color-scheme: light dark;
}
body {
font-family: var(--font-sans);
font-size: var(--text-base);
font-size-adjust: 0.5;
color: var(--text-primary);
background-color: var(--bg-primary);
}
h1, h2, h3, h4, h5, h6 {
font-weight: var(--font-bold);
line-height: var(--leading-tight);
color: var(--text-primary);
}
h1 {
font-size: var(--text-4xl);
}
h2 {
font-size: var(--text-2xl);
}
h3 {
font-size: var(--text-xl);
}
h4 {
font-size: var(--text-lg);
}
@media (min-width: 640px) {
h1 {
font-size: var(--text-5xl);
}
}
@media (min-width: 1024px) {
h1 {
font-size: var(--text-6xl);
}
}
/* No utility classes - use semantic CSS instead */
.font-mono {
font-family: var(--font-mono);
}
.truncate {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.line-clamp-2 {
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
}