diff options
| author | Matthias Andreas Benkard <code@mail.matthias.benkard.de> | 2012-02-27 01:02:38 +0100 | 
|---|---|---|
| committer | Matthias Andreas Benkard <code@mail.matthias.benkard.de> | 2012-02-27 01:02:38 +0100 | 
| commit | b968e5fafee0d6b04e6db013a81813dc3398f7ee (patch) | |
| tree | eeac98396633dfbe142d1ec54aba44dae07672f8 | |
| parent | f06efd2ad30690fc51532db19f532c9ac256a2de (diff) | |
Book Marx: Add appropriate style sheet and background images.
| -rw-r--r-- | src/mulk/benki/book_marx.clj | 4 | ||||
| -rw-r--r-- | static/style/hammer-and-sickle.css | 100 | ||||
| -rw-r--r-- | static/style/hammerandsickle-yellow-on-red-bright.png | bin | 0 -> 6312 bytes | |||
| -rw-r--r-- | static/style/hammerandsickle-yellow-on-red.png | bin | 0 -> 6359 bytes | 
4 files changed, 103 insertions, 1 deletions
| diff --git a/src/mulk/benki/book_marx.clj b/src/mulk/benki/book_marx.clj index 6c01bcc..3832e88 100644 --- a/src/mulk/benki/book_marx.clj +++ b/src/mulk/benki/book_marx.clj @@ -23,7 +23,9 @@  (def users         (cq/table :users)) -(def bookmarx-list-page {}) +(def bookmarx-list-page +  {:head (list +          [:link {:rel "stylesheet", "href" "/style/hammer-and-sickle.css"}])})  (def bookmarx-submission-page {})  (defn restrict-visibility [table user] diff --git a/static/style/hammer-and-sickle.css b/static/style/hammer-and-sickle.css new file mode 100644 index 0000000..40db121 --- /dev/null +++ b/static/style/hammer-and-sickle.css @@ -0,0 +1,100 @@ +/* Copyright 2004, 2012, Matthias Andreas Benkard. */ + +/* MAIN STUFF */ + +body,html { +	color: black; +	background-color: #ff0000; +	background-image: url(hammerandsickle-yellow-on-red.png); +	background-position: 0 0; +	background-repeat: no-repeat; +	background-attachment: fixed; +} + +a { +	color: blue; +	background-color: inherit; +} + +a:visited { +	color: navy;  /* dark blue */ +	background-color: inherit; +} + +a:active { +	color: #bbbbff;  /* light blue */ +	background-color: inherit; +} + +#rtnv h3 { +	font-size: 1em; +} + +#stylechooser h2 { +	font-size: 1em; +	font-weight: bold; +} + +#mainheading { +	border-bottom: 0px solid none; +} + +ul.bookmarx-list { +        list-style-type: none; +} + +h1 { +	background-color: #ffbfbf; +	background-image: url(hammerandsickle-yellow-on-red-bright.png); +	background-position: 0 0; +	background-repeat: no-repeat; +	background-attachment: fixed; +	border: solid #bbccff; +} + +h2 { +	background-color: #ffbfbf; +	background-image: url(hammerandsickle-yellow-on-red-bright.png); +	background-position: 0 0; +	background-repeat: no-repeat; +	background-attachment: fixed; +} + +#rtnv { +	font-family: sans-serif, Arial, Helvetica; +	color: inherit; +	background-color: #ffbfbf; +	background-image: url(hammerandsickle-yellow-on-red-bright.png); +	background-position: 0 0; +	background-repeat: no-repeat; +	background-attachment: fixed; +	border: solid #bbccff; +} + +.bookmark, #content { +	/* border-right: 1px solid silver; */ +	color: inherit; +	background-color: #ffbfbf; +	background-image: url(hammerandsickle-yellow-on-red-bright.png); +	background-position: 0 0; +	background-repeat: no-repeat; +	background-attachment: fixed; +	border: solid #bbccff; +        margin: 10px; +} + +p { +	text-align: justify; +} + +abbr, acronym { +	cursor: help; +} + +hr { +	color: #bbccff; +	background-color: #bbccff; +	height: 2px; +	/* border: 1px solid silver; */ +	border: 0px; +} diff --git a/static/style/hammerandsickle-yellow-on-red-bright.png b/static/style/hammerandsickle-yellow-on-red-bright.pngBinary files differ new file mode 100644 index 0000000..86e0398 --- /dev/null +++ b/static/style/hammerandsickle-yellow-on-red-bright.png diff --git a/static/style/hammerandsickle-yellow-on-red.png b/static/style/hammerandsickle-yellow-on-red.pngBinary files differ new file mode 100644 index 0000000..d756b5b --- /dev/null +++ b/static/style/hammerandsickle-yellow-on-red.png | 
