소스 검색

Photos: CSS formatting cleanup, margin changes

Chris Runnells 6 년 전
부모
커밋
cc6027d27a
1개의 변경된 파일13개의 추가작업 그리고 7개의 파일을 삭제
  1. 13 7
      photos/style.css

+ 13 - 7
photos/style.css

@@ -415,7 +415,7 @@ h1, h2, h3, h4, h5, h6 {
 }
 
 p {
-	margin-bottom: 1.5em;
+	margin: 0 0 1.5em;
 }
 
 dfn, cite, em, i {
@@ -449,29 +449,35 @@ address {
 	margin: 0 0 1.5em;
 }
 
-pre, code, kbd, tt, var {
+pre,
+code,
+kbd,
+tt,
+var {
 	background: #f0f0f0;
 	font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
 	font-size: 16px;
 	font-size: 1.6rem;
 	line-height: 1.5;
 	max-width: 100%;
-	padding: 0 0.25em;
+	padding: 0;
 	overflow: auto;
 }
 
 pre {
 	margin-bottom: 1.5rem;
-	padding: 1.5rem;
+	padding: 1.5em;
 }
 
-abbr, acronym {
+abbr,
+acronym {
 	border-bottom: 1px dotted #666;
 	cursor: help;
 	text-decoration: none;
 }
 
-mark, ins {
+mark,
+ins {
 	background: #d63031;
 	color: #fff;
 	padding: 0 0.25em;
@@ -546,7 +552,7 @@ img {
 }
 
 figure {
-	margin: 3rem 0;
+	margin: 0 0 1.5em 0;
 	/* Extra wide images within figure tags don't overflow the content area. */
 }