style.css 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. /*
  2. iPhoto2Atom, extract images from iPhoto™ libraries
  3. Copyright (C) 2015-2016 Marcus Rohrmoser, http://purl.mro.name/iPhoto2Atom
  4. This program is free software: you can redistribute it and/or modify
  5. it under the terms of the GNU General Public License as published by
  6. the Free Software Foundation, either version 3 of the License, or
  7. (at your option) any later version.
  8. This program is distributed in the hope that it will be useful,
  9. but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  11. GNU General Public License for more details.
  12. You should have received a copy of the GNU General Public License
  13. along with this program. If not, see <http://www.gnu.org/licenses/>.
  14. */
  15. html {
  16. --dx: 200px;
  17. background-color: hsl(0,0%,23%);
  18. color: hsl(30, 60%, 60%);
  19. font-family: sans-serif;
  20. }
  21. ul#photos {
  22. list-style-type: none;
  23. margin: 0;
  24. padding: 0;
  25. }
  26. ul#photos > li {
  27. /* border: solid lightgrey 2px; */
  28. display: block;
  29. float: left;
  30. height: var(--dx);
  31. margin: .5ex;
  32. padding: 0.25ex;
  33. width: var(--dx);
  34. text-align: center;
  35. }
  36. ul#photos > li img {
  37. max-height: var(--dx);
  38. max-width: var(--dx);
  39. }
  40. #footer {
  41. opacity: 40%;
  42. }
  43. a:any-link {
  44. color: hsl(115, 50%, 45%);
  45. }
  46. /* This is a workaround for Browsers that insert additional <br> tags.
  47. * See http://purl.mro.name/safari-xslt-br-bug */
  48. br { display:none; }
  49. br.br { display:inline; }
  50. .categories a {
  51. font-style: italic;
  52. }
  53. .categories a:hover {
  54. cursor: pointer;
  55. }
  56. .categories a.active {
  57. color: orange;
  58. font-weight: bold;
  59. }
  60. ul#photos.active li {
  61. display: none;
  62. }
  63. ul#photos.active li.active {
  64. display: block;
  65. }
  66. .lb-outerContainer {
  67. background-color: hsl(30, 60%, 40%);
  68. }