Tuesday, March 26, 2024

css for safari reading list

you can export your reading list on desktop buts its ugly and unstyled by default. its a bunch of dt and dl tags (you don't see those often in the wild.

  1. use emmet ! tab to make some boilerplate html
  2. include this stylesheet (or create style tag)
  3. enjoy
	body, a{
		background-color: #333;
		font-family: monospace;
		color: #888;
		display: inline-block;
		padding: 10px;
		margin-bottom: 10px;
		text-align: center;
		width: 90%;
		
	}
	dt >a {
		background-color: #444;
		border-radius: 10px;
	}
	 a:hover {
			color: black;
		}

No comments:

Post a Comment