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;
|
||||||
display: block;
|
}
|
||||||
color: #000;
|
.headall {
|
||||||
background-color: #C9C9C9;
|
text-align: center;
|
||||||
border-radius: 5px;
|
display: block;
|
||||||
width: 75%;
|
color: #000;
|
||||||
position: top;
|
background-color: #C9C9C9;
|
||||||
top: 0px;
|
border-radius: 5px;
|
||||||
margin-left: 15%;
|
width: 75%;
|
||||||
margin-right: 15%;
|
position: top;
|
||||||
margin-bottom: 0%;
|
top: 0px;
|
||||||
}
|
margin-left: 15%;
|
||||||
|
margin-right: 15%;
|
||||||
|
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