1
0
Fork 0
mirror of https://github.com/Oreolek/ifhub.club.git synced 2024-06-26 11:40:48 +03:00

fix отображения контента внутри тега <code>

This commit is contained in:
Mzhelskiy Maxim 2011-08-14 13:53:11 +00:00
parent 636ba68954
commit 8819652b58
6 changed files with 8 additions and 4 deletions

View file

@ -10,7 +10,7 @@
.topic .content { overflow: hidden; zoom: 1; margin-bottom: 15px; }
.topic .content p { margin-bottom: 18px; }
.topic .content blockquote { background: #fafafa; padding: 10px 15px; color: #555; margin-bottom: 5px; clear: both; }
.topic .content pre { background: #fafafa; border: 1px solid #dce6f0; margin-bottom: 10px; overflow: auto; padding: 5px 10px; }
.topic .content pre, .comment .content pre { background: #fafafa; border: 1px solid #dce6f0; margin-bottom: 10px; overflow: auto; padding: 5px 10px; }
.topic .content ul { list-style-type: disc; margin-left: 17px; }
.topic .content ol { list-style-type: decimal; margin-left: 22px; }
.topic .content img[align="right"] { margin: 4px 0 5px 15px; }

View file

@ -60,7 +60,7 @@
</head>
<body>
<body onload="prettyPrint()">
{hook run='body_begin'}
<div id="container">

View file

@ -12,6 +12,7 @@ $config['head']['default']['js'] = array(
"___path.root.engine_lib___/external/jquery/jquery.jqplugin.js",
"___path.root.engine_lib___/external/jquery/jquery.cookie.js",
"___path.root.engine_lib___/external/jquery/jquery.serializejson.js",
"___path.root.engine_lib___/external/prettify/prettify.js",
"___path.static.skin___/js/main.js",
"___path.static.skin___/js/favourite.js",
"___path.static.skin___/js/blocks.js",
@ -41,6 +42,7 @@ $config['head']['default']['css'] = array(
"___path.root.engine_lib___/external/jquery/markitup/skins/simple/style.css",
"___path.root.engine_lib___/external/jquery/markitup/sets/default/style.css",
"___path.static.skin___/css/smoothness/jquery-ui.css",
"___path.root.engine_lib___/external/prettify/prettify.css",
);
/**

View file

@ -11,7 +11,7 @@
.topic .content h5 { font-size: 20px; line-height: 1.3em; margin-bottom: 10px; }
.topic .content h6 { font-size: 18px; line-height: 1.3em; margin-bottom: 10px; }
.topic .content blockquote { background: #fafafa; padding: 10px 15px; color: #555; margin-bottom: 5px; clear: both; }
.topic .content pre { background: url(../images/code.gif); border: 1px solid #dce6f0; overflow: auto; padding: 5px 10px; }
.topic .content pre, .comment .content pre { background: url(../images/code.gif); border: 1px solid #dce6f0; overflow: auto; padding: 5px 10px; margin-right: 10px;}
.topic .content ul { list-style-type: disc; margin-left: 17px; }
.topic .content ol { list-style-type: decimal; margin-left: 22px; }
.topic .content img[align="right"] { margin: 4px 0 5px 15px; }

View file

@ -60,7 +60,7 @@
</head>
<body>
<body onload="prettyPrint()">
{hook run='body_begin'}
{include file='header_top.tpl'}
{include file='nav.tpl'}

View file

@ -12,6 +12,7 @@ $config['head']['default']['js'] = array(
"___path.root.engine_lib___/external/jquery/jquery.jqplugin.js",
"___path.root.engine_lib___/external/jquery/jquery.cookie.js",
"___path.root.engine_lib___/external/jquery/jquery.serializejson.js",
"___path.root.engine_lib___/external/prettify/prettify.js",
"___path.static.skin___/js/main.js",
"___path.static.skin___/js/favourite.js",
"___path.static.skin___/js/blocks.js",
@ -30,6 +31,7 @@ $config['head']['default']['css'] = array(
"___path.static.skin___/css/reset.css",
"___path.root.engine_lib___/external/jquery/markitup/skins/simple/style.css",
"___path.root.engine_lib___/external/jquery/markitup/sets/default/style.css",
"___path.root.engine_lib___/external/prettify/prettify.css",
"___path.static.skin___/css/main.css",
"___path.static.skin___/css/grid.css",
"___path.static.skin___/css/common.css",