jce revidoval tento gist . Přejít na revizi
Žádné změny
jce revidoval tento gist . Přejít na revizi
Žádné změny
jce revidoval tento gist . Přejít na revizi
1 file changed, 15 insertions
neoretro-sigal.css
| @@ -111,6 +111,16 @@ header hr { | |||
| 111 | 111 | margin-right: 0; | |
| 112 | 112 | } | |
| 113 | 113 | #albums ul li a img { | |
| 114 | + | #albums ul li a img { | |
| 115 | + | -webkit-transition: opacity 0s ease-in; | |
| 116 | + | -moz-transition-property: opacity; | |
| 117 | + | -moz-transition-duration: 0s; | |
| 118 | + | -moz-box-shadow: 10px 10px rgba(0, 0, 0, 0); | |
| 119 | + | -webkit-box-shadow: 10px 10px rgba(0, 0, 0, 0); | |
| 120 | + | -o-box-shadow: 10px 10px rgba(0, 0, 0, 0); | |
| 121 | + | box-shadow: 10px 10px black; | |
| 122 | + | border: 2px solid white; | |
| 123 | + | } | |
| 114 | 124 | box-shadow: 10px 10px black; | |
| 115 | 125 | border: 2px solid white; | |
| 116 | 126 | } | |
| @@ -118,8 +128,12 @@ header hr { | |||
| 118 | 128 | background: none; | |
| 119 | 129 | box-shadow: none; | |
| 120 | 130 | } | |
| 131 | + | #albums ul li a:hover img { | |
| 132 | + | opacity: 1; | |
| 133 | + | } | |
| 121 | 134 | #albums img:hover { | |
| 122 | 135 | border: 2px solid magenta; | |
| 136 | + | opacity: 1; | |
| 123 | 137 | } | |
| 124 | 138 | #albums img:active { | |
| 125 | 139 | margin: 7px 0px 7px 7px; | |
| @@ -131,6 +145,7 @@ header hr { | |||
| 131 | 145 | color: white; | |
| 132 | 146 | font-size: 1.2em; | |
| 133 | 147 | font-weight: bold; | |
| 148 | + | font-variant: none; | |
| 134 | 149 | text-align: center; | |
| 135 | 150 | padding-left: 25px; | |
| 136 | 151 | } | |
jce revidoval tento gist . Přejít na revizi
1 file changed, 9 insertions
neoretro-sigal.css
| @@ -56,9 +56,18 @@ header h1, header h2 { | |||
| 56 | 56 | header h1 a, header h1 a:link, header h1 a:visited, | |
| 57 | 57 | header h2 a, header h2 a:link, header h2 a:visited { | |
| 58 | 58 | text-decoration: none; | |
| 59 | + | background: lightgrey; | |
| 60 | + | text-shadow: none; | |
| 61 | + | color: black; | |
| 59 | 62 | } | |
| 60 | 63 | header h1 a:hover, header h2 a:hover { | |
| 61 | 64 | text-decoration: none; | |
| 65 | + | background: grey; | |
| 66 | + | color: white; | |
| 67 | + | } | |
| 68 | + | header h1 a:active, header h2 a:active { | |
| 69 | + | background: black; | |
| 70 | + | color: white; | |
| 62 | 71 | } | |
| 63 | 72 | header hr { | |
| 64 | 73 | margin-top: 18px; | |
jce revidoval tento gist . Přejít na revizi
1 file changed, 2 insertions
neoretro-sigal.css
| @@ -16,6 +16,7 @@ a, a:link, a:visited { | |||
| 16 | 16 | padding: 2px 6px 2px 6px; | |
| 17 | 17 | background: limegreen; | |
| 18 | 18 | box-shadow: 7px 7px black; | |
| 19 | + | text-shadow: none; | |
| 19 | 20 | } | |
| 20 | 21 | ||
| 21 | 22 | a:hover { | |
| @@ -181,6 +182,7 @@ footer a:link, footer a:visited { | |||
| 181 | 182 | } | |
| 182 | 183 | footer a:hover { | |
| 183 | 184 | text-decoration: none; | |
| 185 | + | border-bottom: none; | |
| 184 | 186 | } | |
| 185 | 187 | footer span:not(:last-child):after { | |
| 186 | 188 | content: ' - '; | |
jce revidoval tento gist . Přejít na revizi
1 file changed, 206 insertions
neoretro-sigal.css(vytvořil soubor)
| @@ -0,0 +1,206 @@ | |||
| 1 | + | body { | |
| 2 | + | background-color: navy; | |
| 3 | + | color: whitesmoke; | |
| 4 | + | font: 16px/1.5 monospace; | |
| 5 | + | } | |
| 6 | + | ||
| 7 | + | .container { | |
| 8 | + | margin: 0 auto; | |
| 9 | + | text-align: left; | |
| 10 | + | width: 96%; | |
| 11 | + | } | |
| 12 | + | ||
| 13 | + | a, a:link, a:visited { | |
| 14 | + | color: black; | |
| 15 | + | text-decoration: none; | |
| 16 | + | padding: 2px 6px 2px 6px; | |
| 17 | + | background: limegreen; | |
| 18 | + | box-shadow: 7px 7px black; | |
| 19 | + | } | |
| 20 | + | ||
| 21 | + | a:hover { | |
| 22 | + | background: forestgreen; | |
| 23 | + | color: yellow; | |
| 24 | + | } | |
| 25 | + | ||
| 26 | + | a:active { | |
| 27 | + | background: black; | |
| 28 | + | color: white; | |
| 29 | + | box-shadow: none; | |
| 30 | + | margin: 7px 0px 7px 7px; | |
| 31 | + | } | |
| 32 | + | ||
| 33 | + | /* remove SMALLCAPS style and dotted underline from some browsers */ | |
| 34 | + | abbr[title] { | |
| 35 | + | text-decoration: none; | |
| 36 | + | font-variant: none; | |
| 37 | + | border-bottom: none; | |
| 38 | + | } | |
| 39 | + | ||
| 40 | + | abbr[title="exposure"]::after { content: "s" } | |
| 41 | + | abbr[title="film speed"]::before { content: "ISO " } | |
| 42 | + | abbr[title="aperture"]::before { content: "f/" } | |
| 43 | + | abbr[title="focal length"]::after { content: "mm" } | |
| 44 | + | abbr[title="camera make and model"], abbr[title="date"] { | |
| 45 | + | display: block; | |
| 46 | + | } | |
| 47 | + | ||
| 48 | + | /* header */ | |
| 49 | + | header { | |
| 50 | + | padding: 1em 0; | |
| 51 | + | } | |
| 52 | + | header h1, header h2 { | |
| 53 | + | margin: 10px 0; | |
| 54 | + | } | |
| 55 | + | header h1 a, header h1 a:link, header h1 a:visited, | |
| 56 | + | header h2 a, header h2 a:link, header h2 a:visited { | |
| 57 | + | text-decoration: none; | |
| 58 | + | } | |
| 59 | + | header h1 a:hover, header h2 a:hover { | |
| 60 | + | text-decoration: none; | |
| 61 | + | } | |
| 62 | + | header hr { | |
| 63 | + | margin-top: 18px; | |
| 64 | + | border: 2px solid cyan; | |
| 65 | + | } | |
| 66 | + | ||
| 67 | + | #menu ul { | |
| 68 | + | list-style-type: none; | |
| 69 | + | margin: 0 0 10px; | |
| 70 | + | padding: 0; | |
| 71 | + | } | |
| 72 | + | #menu ul li { | |
| 73 | + | display: inline-block; | |
| 74 | + | } | |
| 75 | + | #menu ul li a, #menu ul li a:link, #menu ul li a:visited { | |
| 76 | + | color: #aaaaaa; | |
| 77 | + | border-bottom: 1px solid #aaaaaa; | |
| 78 | + | padding-bottom: 2px; | |
| 79 | + | margin-left: 5px; | |
| 80 | + | text-decoration: none; | |
| 81 | + | } | |
| 82 | + | #menu ul li a:hover { | |
| 83 | + | color: #eeeeee; | |
| 84 | + | border-color: #eeeeee; | |
| 85 | + | text-decoration: none; | |
| 86 | + | } | |
| 87 | + | ||
| 88 | + | /* gallery */ | |
| 89 | + | #albums ul { | |
| 90 | + | list-style-type: none; | |
| 91 | + | padding-left: 0; | |
| 92 | + | } | |
| 93 | + | #albums ul li { | |
| 94 | + | display: inline-block; | |
| 95 | + | margin: 0 55px 30px 0; | |
| 96 | + | text-align: center; | |
| 97 | + | vertical-align: top; | |
| 98 | + | width: 280px; | |
| 99 | + | } | |
| 100 | + | #albums ul li:nth-child(3n+3) { | |
| 101 | + | margin-right: 0; | |
| 102 | + | } | |
| 103 | + | #albums ul li a img { | |
| 104 | + | box-shadow: 10px 10px black; | |
| 105 | + | border: 2px solid white; | |
| 106 | + | } | |
| 107 | + | #albums a { | |
| 108 | + | background: none; | |
| 109 | + | box-shadow: none; | |
| 110 | + | } | |
| 111 | + | #albums img:hover { | |
| 112 | + | border: 2px solid magenta; | |
| 113 | + | } | |
| 114 | + | #albums img:active { | |
| 115 | + | margin: 7px 0px 7px 7px; | |
| 116 | + | box-shadow: none; | |
| 117 | + | } | |
| 118 | + | ||
| 119 | + | .album_title { | |
| 120 | + | display: block; | |
| 121 | + | color: white; | |
| 122 | + | font-size: 1.2em; | |
| 123 | + | font-weight: bold; | |
| 124 | + | text-align: center; | |
| 125 | + | padding-left: 25px; | |
| 126 | + | } | |
| 127 | + | ||
| 128 | + | /* galleria */ | |
| 129 | + | #gallery { | |
| 130 | + | line-height: 0; | |
| 131 | + | width: 100%; | |
| 132 | + | height: 600px; | |
| 133 | + | clear: both; | |
| 134 | + | box-shadow: 7px 7px black; | |
| 135 | + | border: 2px solid magenta; | |
| 136 | + | } | |
| 137 | + | #gallery video { | |
| 138 | + | position: absolute; | |
| 139 | + | top: 10%; | |
| 140 | + | width: 100%; | |
| 141 | + | margin: 0 auto; | |
| 142 | + | } | |
| 143 | + | .galleria-theme-classic .galleria-info-text { | |
| 144 | + | background-color: rgba(0, 0, 0, 0.7); | |
| 145 | + | } | |
| 146 | + | ||
| 147 | + | .icons { | |
| 148 | + | top: 10px; | |
| 149 | + | right: 20px; | |
| 150 | + | padding: 6px; | |
| 151 | + | z-index: 2; | |
| 152 | + | position: absolute; | |
| 153 | + | text-align: right; | |
| 154 | + | } | |
| 155 | + | .icons a { | |
| 156 | + | cursor: pointer; | |
| 157 | + | padding-top: 9px; | |
| 158 | + | } | |
| 159 | + | .icons a:active { | |
| 160 | + | background: black; | |
| 161 | + | } | |
| 162 | + | /* Mimic .galleria-stage to use the same area for the map */ | |
| 163 | + | #galleria-map { | |
| 164 | + | position: absolute; | |
| 165 | + | bottom: 80px; | |
| 166 | + | left: 10px; | |
| 167 | + | top: 0; | |
| 168 | + | right: 10px; | |
| 169 | + | } | |
| 170 | + | ||
| 171 | + | /* footer */ | |
| 172 | + | footer { | |
| 173 | + | clear: both; | |
| 174 | + | display: block; | |
| 175 | + | margin: 1em 0; | |
| 176 | + | text-align: center; | |
| 177 | + | } | |
| 178 | + | footer a:link, footer a:visited { | |
| 179 | + | font-weight: bold; | |
| 180 | + | text-decoration: none; | |
| 181 | + | } | |
| 182 | + | footer a:hover { | |
| 183 | + | text-decoration: none; | |
| 184 | + | } | |
| 185 | + | footer span:not(:last-child):after { | |
| 186 | + | content: ' - '; | |
| 187 | + | } | |
| 188 | + | ||
| 189 | + | @media only screen and (min-width: 980px) { | |
| 190 | + | .container { | |
| 191 | + | width: 960px; | |
| 192 | + | } | |
| 193 | + | ||
| 194 | + | #gallery { | |
| 195 | + | width: 980px; | |
| 196 | + | margin: 0 0 40px -10px; | |
| 197 | + | } | |
| 198 | + | ||
| 199 | + | header h1, #menu { | |
| 200 | + | display: inline-block; | |
| 201 | + | width: 49.5%; | |
| 202 | + | } | |
| 203 | + | #menu { | |
| 204 | + | text-align: right; | |
| 205 | + | } | |
| 206 | + | } | |