platform/packages/theme/styles/prose.scss
Andrey Sobolev a2388cd1d4
Revert "UBERF-60: update styles and presenters. (#3651)" (#3654)
This reverts commit c67395fcce.

Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
2023-09-04 13:17:02 +07:00

65 lines
1.5 KiB
SCSS

//
// Copyright © 2022 Hardcore Engineering Inc.
//
// Licensed under the Eclipse Public 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 https://www.eclipse.org/legal/epl-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.
//
/* Table */
table.proseTable {
border-collapse: collapse;
table-layout: fixed;
width: 100%;
margin: 0;
overflow: hidden;
td,
th {
min-width: 1rem;
height: 2rem;
border: 1px solid var(--button-border-hover);
padding: .25rem .5rem;
vertical-align: top;
box-sizing: border-box;
position: relative;
> * {
margin-bottom: 0;
}
}
th {
text-align: left;
background-color: var(--button-bg-color);
}
p {
margin: 0;
}
}
.proseCode {
padding: 0 .25rem;
font-family: var(--mono-font);
color: var(--theme-content-color);
background-color: var(--theme-button-default);
border: 1px solid var(--theme-button-border);
border-radius: .25rem;
}
.proseCodeBlock {
font-family: var(--mono-font);
color: var(--theme-content-color);
background-color: var(--theme-button-default);
border: 1px solid var(--theme-button-border);
border-radius: .25rem;
padding: 0.5rem;
}