From 1abb52c99a7ff59d6faa2ba78b39c7bd72758edd Mon Sep 17 00:00:00 2001 From: "Difrex(Denis Zheleztsov)" Date: Wed, 6 Aug 2014 14:55:08 +0400 Subject: [PATCH] List markup --- II/T.pm | 1 + s/css/default.css | 51 +++++++++++++++++++++++++---------------------- 2 files changed, 28 insertions(+), 24 deletions(-) diff --git a/II/T.pm b/II/T.pm index f88c862..895f284 100644 --- a/II/T.pm +++ b/II/T.pm @@ -169,6 +169,7 @@ sub pre { $post =~ s/.?\*(.+)\*.?/ $1<\/b> /g; $post =~ s/^$/
\n/g; $post =~ s/(.?)\n/$1
\n/g; + $post =~ s/\*(.+)/
  • $1<\/li>\n/g; $post =~ s/(https?:\/\/.+\.(jpg|png|gif))/<\/a>/g; $post diff --git a/s/css/default.css b/s/css/default.css index f052696..48e119d 100644 --- a/s/css/default.css +++ b/s/css/default.css @@ -45,30 +45,33 @@ padding-bottom: 0.15em; .subg a:visited { color: #666; } - .mail { - display: block; - margin-top: 0.1em; - margin-left: 0.5em; - } - .text { - display: block; - margin-left: 0.5em; - margin-top: -0.8em; - margin-right: 0.5em; - } - .headall { - text-align: center; - display: block; - color: #000; - background-color: #C9C9C9; - border-radius: 5px; - width: 75%; - position: top; - top: 0px; - margin-left: 15%; - margin-right: 15%; - margin-bottom: 0%; - } +.mail { + display: block; + margin-top: 0.1em; + margin-left: 0.5em; +} +.text { + display: block; + margin-left: 0.5em; + margin-top: -0.8em; + margin-right: 0.5em; +} +.post li { + margin-left: 1.5em; +} +.headall { +text-align: center; + display: block; +color: #000; +background-color: #C9C9C9; +border-radius: 5px; +width: 75%; +position: top; +top: 0px; + margin-left: 15%; + margin-right: 15%; +margin-bottom: 0%; +} .headall p { margin-top: -1.5em; text-align: center;