Template:AshStyle/style.css: Difference between revisions
Jump to navigation
Jump to search
(Left margin for interlinear class.) |
(Removed interlinear margin) |
||
(One intermediate revision by the same user not shown) | |||
Line 26: | Line 26: | ||
.interlinear { | .interlinear { | ||
background: #f3f3f3; | |||
padding: 1em; | |||
padding-bottom: 0.5em; | |||
padding-left: 2em; | |||
} | } | ||
Latest revision as of 08:31, 29 January 2024
/*@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,400;0,700;1,400;1,700&display=swap');*/
.ash {
font-family:
'Lucida Grande',
'Noto Sans',
'Lucida Sans Unicode',
'Arial',
'Verdana',
'Helvetica',
'Tahoma',
sans-serif;
font-style: normal;
font-weight: normal;
position: relative;
}
.ash-columns {
display: flex;
flex-wrap: wrap;
}
.ash-column {
margin: 0.5em 0; /* Copied from regular p style */
}
.interlinear {
background: #f3f3f3;
padding: 1em;
padding-bottom: 0.5em;
padding-left: 2em;
}
/*
.ash-mh { position: relative; }
.ash-mh::before {
position: absolute;
width: 100%;
text-align: center;
left: 0;
content: 'ả';
clip: rect(0, 2em, 1.075ex, 0);
}
.ash-mh > span {
height: 1.25ex;
overflow: hidden;
display: inline-flex;
align-items: flex-start;
line-height: 0.75ex;
}
*/