List markup
This commit is contained in:
parent
61cf2b9150
commit
1abb52c99a
1
II/T.pm
1
II/T.pm
@ -169,6 +169,7 @@ sub pre {
|
|||||||
$post =~ s/.?\*(.+)\*.?/ <b>$1<\/b> /g;
|
$post =~ s/.?\*(.+)\*.?/ <b>$1<\/b> /g;
|
||||||
$post =~ s/^$/<br>\n/g;
|
$post =~ s/^$/<br>\n/g;
|
||||||
$post =~ s/(.?)\n/$1<br>\n/g;
|
$post =~ s/(.?)\n/$1<br>\n/g;
|
||||||
|
$post =~ s/\*(.+)/<li>$1<\/li>\n/g;
|
||||||
$post
|
$post
|
||||||
=~ s/(https?:\/\/.+\.(jpg|png|gif))/<a href="$1"><img src="$1" width="15%" height="15%" \/><\/a>/g;
|
=~ s/(https?:\/\/.+\.(jpg|png|gif))/<a href="$1"><img src="$1" width="15%" height="15%" \/><\/a>/g;
|
||||||
$post
|
$post
|
||||||
|
@ -45,30 +45,33 @@ padding-bottom: 0.15em;
|
|||||||
.subg a:visited {
|
.subg a:visited {
|
||||||
color: #666;
|
color: #666;
|
||||||
}
|
}
|
||||||
.mail {
|
.mail {
|
||||||
display: block;
|
display: block;
|
||||||
margin-top: 0.1em;
|
margin-top: 0.1em;
|
||||||
margin-left: 0.5em;
|
margin-left: 0.5em;
|
||||||
}
|
}
|
||||||
.text {
|
.text {
|
||||||
display: block;
|
display: block;
|
||||||
margin-left: 0.5em;
|
margin-left: 0.5em;
|
||||||
margin-top: -0.8em;
|
margin-top: -0.8em;
|
||||||
margin-right: 0.5em;
|
margin-right: 0.5em;
|
||||||
}
|
}
|
||||||
.headall {
|
.post li {
|
||||||
text-align: center;
|
margin-left: 1.5em;
|
||||||
|
}
|
||||||
|
.headall {
|
||||||
|
text-align: center;
|
||||||
display: block;
|
display: block;
|
||||||
color: #000;
|
color: #000;
|
||||||
background-color: #C9C9C9;
|
background-color: #C9C9C9;
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
width: 75%;
|
width: 75%;
|
||||||
position: top;
|
position: top;
|
||||||
top: 0px;
|
top: 0px;
|
||||||
margin-left: 15%;
|
margin-left: 15%;
|
||||||
margin-right: 15%;
|
margin-right: 15%;
|
||||||
margin-bottom: 0%;
|
margin-bottom: 0%;
|
||||||
}
|
}
|
||||||
.headall p {
|
.headall p {
|
||||||
margin-top: -1.5em;
|
margin-top: -1.5em;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
Loading…
Reference in New Issue
Block a user