Skip to content

Instantly share code, notes, and snippets.

@kyl191
Created June 24, 2018 01:31
Show Gist options
  • Save kyl191/54ff7381c08765271038055a8f138c67 to your computer and use it in GitHub Desktop.
Save kyl191/54ff7381c08765271038055a8f138c67 to your computer and use it in GitHub Desktop.
CSS patch to align 138px thumbnails on Zenphoto
--- dark.css.ori 2018-06-24 00:55:25.001595046 +0000
+++ dark.css 2018-06-24 01:30:02.656363668 +0000
@@ -237,7 +237,7 @@
------------------------------ */
#images {
float: left;
- width: 650px;
+ width: 685px;
border: 0px solid gray;
}
@@ -272,10 +272,10 @@
float: left;
}
.album {
- margin: 0 12px 8px 0;
- padding: 10px 8px 8px 10px;
+ margin: 5px 9px 9px 0;
+ padding: 8px 8px 8px 8px;
float: left;
- width: 305px;
+ width: 307px;
border: 1px solid #444;
background: #333;
line-height: 100%;
@@ -699,4 +699,4 @@
}
.clearright {
clear: right !important;
-}
\ No newline at end of file
+}
--- light.css.ori 2018-06-24 01:08:47.076230366 +0000
+++ light.css 2018-06-24 01:29:45.773919816 +0000
@@ -237,7 +237,7 @@
------------------------------ */
#images {
float: left;
- width: 650px;
+ width: 685px;
border: 0px solid gray;
}
.imagethumb a, .imagethumb a:hover {
@@ -271,10 +271,10 @@
float: left;
}
.album {
- margin: 0 12px 8px 0;
- padding: 10px 8px 2px 10px;
+ margin: 5px 9px 9px 0;
+ padding: 8px;
float: left;
- width: 305px;
+ width: 307px;
border: 1px solid #E7F0F5;
background: #F7F9FD;
line-height: 100%;
@@ -698,4 +698,4 @@
}
.clearright {
clear: right !important;
-}
\ No newline at end of file
+}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment