22aedc6c96
Backport: https://codeberg.org/forgejo/forgejo/pulls/2669 (cherry picked from commit1d3240887c
) (cherry picked from commit781a37fbe1
) (cherry picked from commit8309f008c2
) (cherry picked from commitfae8d9f70d
) (cherry picked from commit6721cba75b
) (cherry picked from commit562e5cdf32
) (cherry picked from commitd789d33229
) (cherry picked from commit8218e80bfc
) (cherry picked from commit10bca456a9
) (cherry picked from commitdb6f6281fc
) (cherry picked from commited8e8a792e
) (cherry picked from commitd6428f92ce
) (cherry picked from commit069d87b80f
) (cherry picked from commit2b6546adc9
) (cherry picked from commit4c7cb0a5d2
) (cherry picked from commit7e0014dd13
) (cherry picked from commit16a8658878
) (cherry picked from commit6e98bacbbd
)
41 lines
801 B
CSS
41 lines
801 B
CSS
.markup table.file-preview {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.markup table.file-preview td {
|
|
padding: 0 10px !important;
|
|
border: none !important;
|
|
}
|
|
|
|
.markup table.file-preview tr {
|
|
border-top: none;
|
|
background-color: inherit !important;
|
|
}
|
|
|
|
.markup .file-preview-box {
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.markup .file-preview-box .header {
|
|
padding: .5rem;
|
|
padding-left: 1rem;
|
|
border: 1px solid var(--color-secondary);
|
|
border-bottom: none;
|
|
border-radius: 0.28571429rem 0.28571429rem 0 0;
|
|
background: var(--color-box-header);
|
|
}
|
|
|
|
.markup .file-preview-box .warning {
|
|
border-radius: 0;
|
|
margin: 0;
|
|
padding: .5rem .5rem .5rem 1rem;
|
|
}
|
|
|
|
.markup .file-preview-box .header > a {
|
|
display: block;
|
|
}
|
|
|
|
.markup .file-preview-box .table {
|
|
margin-top: 0;
|
|
border-radius: 0 0 0.28571429rem 0.28571429rem;
|
|
}
|