Template:AshStyle/style.css: Difference between revisions

From Linguifex
Jump to navigation Jump to search
(Noto Sans is the best portable option)
(Removed interlinear margin)
 
(8 intermediate revisions by the same user not shown)
Line 3: Line 3:
.ash {
.ash {
font-family:
font-family:
'Lucida Grande',
'Noto Sans',
'Noto Sans',
'Lucida Grande',
'Lucida Sans Unicode',
'Lucida Sans Unicode',
'Arial',
'Arial',
Line 14: Line 14:
font-weight: normal;
font-weight: normal;
position: relative;
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;
}
}



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;
}
*/