demarches-normaliennes/app/assets/stylesheets/attestation_template_2_edit.scss

64 lines
984 B
SCSS
Raw Normal View History

@import "constants";
2023-11-15 09:53:07 +01:00
#attestation-edit {
.tiptap {
padding: $default-spacer;
overflow-y: scroll;
min-height: 600px;
}
.editor {
// Visual zones
.header .flex-1,
h1,
h2,
h3 {
background-color: var(--background-contrast-grey-hover);
padding: $default-spacer / 2;
}
.header,
h1,
h2,
h3 {
margin-bottom: $default-spacer;
}
// Styles
.header {
align-content: center;
p {
margin-bottom: 0rem;
font-size: 0.8rem;
}
}
h1,
h2 {
font-size: 1.25rem;
}
h2 {
line-height: 2rem;
}
h3 {
font-size: 0.8rem;
font-weight: normal;
line-height: 1rem;
}
li p {
margin-bottom: 0;
}
// Tags
.fr-tag {
// style span rendered by tiptap like a button/link tag
color: var(--text-action-high-blue-france);
background-color: var(--background-action-low-blue-france);
}
2023-11-15 09:53:07 +01:00
}
}