aboutsummaryrefslogtreecommitdiffstats
path: root/web/css
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2011-05-06 07:55:47 -0400
committerJason A. Donenfeld <Jason@zx2c4.com>2011-05-06 07:55:47 -0400
commita80528f9d3fcb22965ed22ded83dc7ee6a1605ae (patch)
treef0496acb23adff57f291b1b26f9b77c4ee3a39e4 /web/css
parentBetter cache. Better gc. (diff)
downloadPhotoFloat-a80528f9d3fcb22965ed22ded83dc7ee6a1605ae.tar.xz
PhotoFloat-a80528f9d3fcb22965ed22ded83dc7ee6a1605ae.zip
Finishing up core.
Diffstat (limited to 'web/css')
-rw-r--r--web/css/000-controls.css89
-rw-r--r--web/css/000-main.css0
-rw-r--r--web/css/001-fonts.css24
3 files changed, 113 insertions, 0 deletions
diff --git a/web/css/000-controls.css b/web/css/000-controls.css
new file mode 100644
index 0000000..e43818e
--- /dev/null
+++ b/web/css/000-controls.css
@@ -0,0 +1,89 @@
+body {
+ margin: 0;
+ padding: 0;
+ background-color: #222222;
+ font-family: "LM Roman", "Georgia", "Palatino Linotype", "Palatino", "Times New Roman", "Times", serif;
+ color: #FFFFFF;
+}
+a {
+ color: #88EE44;
+ text-decoration: none;
+}
+a:hover {
+ color: #DDDDDD;
+}
+#title {
+ position: absolute;
+ top: 0;
+ padding: 0.4em;
+ font-weight: bold;
+ font-size: 1.2em;
+}
+#loading {
+ display: none;
+}
+
+
+#album-view {
+ position: absolute;
+ top: 2.5em;
+ padding: 1em;
+}
+#thumbs {
+ line-height: 0;
+}
+
+#thumbs img {
+ border: 0;
+ margin: 0;
+ padding: 0;
+}
+#subalbums {
+}
+.album-button {
+ float: left;
+ display: block;
+ width: 150px;
+ height: 150px;
+ margin-right: 10px;
+ margin-bottom: 5px;
+ margin-top: 5px;
+ text-align: center;
+ font-style: italic;
+ border: 1px #86A1B6 dotted;
+}
+
+
+#next, #back {
+ position: absolute;
+ width: auto;
+ font-size: 2.5em;
+ line-height: 0;
+ padding-top: 0.3em;
+}
+#back {
+ left: 0;
+}
+#next {
+ right: 0;
+}
+#photo {
+ border: 0;
+}
+#photo-view {
+ position: absolute;
+ bottom: 150px;
+ top: 2.5em;
+ margin: 0 auto;
+}
+.photo-view-container {
+ position: absolute;
+ height: 150px;
+ width: 100%;
+ bottom: 0;
+ top: auto !important;
+ overflow-x: auto;
+ overflow-y: hidden;
+ white-space: nowrap;
+ padding: 0 !important;
+}
diff --git a/web/css/000-main.css b/web/css/000-main.css
deleted file mode 100644
index e69de29..0000000
--- a/web/css/000-main.css
+++ /dev/null
diff --git a/web/css/001-fonts.css b/web/css/001-fonts.css
new file mode 100644
index 0000000..20f68e3
--- /dev/null
+++ b/web/css/001-fonts.css
@@ -0,0 +1,24 @@
+@font-face {
+ font-family: "LM Roman";
+ font-weight: bold;
+ font-style: normal;
+ src: url("/fonts/lmroman10-bold.otf");
+}
+@font-face {
+ font-family: "LM Roman";
+ font-weight: bold;
+ font-style: italic;
+ src: url("/fonts/lmroman10-bolditalic.otf");
+}
+@font-face {
+ font-family: "LM Roman";
+ font-weight: normal;
+ font-style: italic;
+ src: url("/fonts/lmroman10-italic.otf");
+}
+@font-face {
+ font-family: "LM Roman";
+ font-weight: normal;
+ font-style: normal;
+ src: url("/fonts/lmroman10-regular.otf");
+} \ No newline at end of file