diff options
| author | Camil Staps | 2025-02-08 08:24:13 +0100 | 
|---|---|---|
| committer | Camil Staps | 2025-02-08 08:24:13 +0100 | 
| commit | 9389af6c782428c9ebf6311b599625d2e943e8bf (patch) | |
| tree | 0316280b8a33336061adfb68d1449f01ba313af0 /resources/sass | |
| parent | Add Taaldag slides; update conference statistics (diff) | |
Layout improvements for small screens
Diffstat (limited to 'resources/sass')
| -rw-r--r-- | resources/sass/style.scss | 40 | 
1 files changed, 38 insertions, 2 deletions
| diff --git a/resources/sass/style.scss b/resources/sass/style.scss index b1a2075..874ed83 100644 --- a/resources/sass/style.scss +++ b/resources/sass/style.scss @@ -99,8 +99,8 @@ body {  	font-size: larger;  } -.nowrap { -	white-space: nowrap; +.wrap-anywhere { +	word-wrap: anywhere; /* utlity to prevent horizontal scrolling on small screens */  }  abbr { @@ -183,6 +183,42 @@ table {  	margin-bottom: 6px;  } +@media (max-width: 1269px) { +	table.main_table { +		tr { +			display: block; +		} + +		td:first-child { +			display: block; +			font-weight: bold; +			min-width: unset !important; +			text-align: initial !important; +		} + +		td.icon { +			min-width: 1.5em; +		} + +		&.presentations > tbody > tr { +			padding-bottom: 1ex; + +			td:nth-child(2) { +				display: inline; +				padding-right: 0; + +				&:after { +					content: ': '; +				} +			} + +			td:last-child { +				display: inline; +			} +		} +	} +} +  span.sc {  	font-variant-caps: small-caps;  } | 
