Forinnersystemcss
フォーラム埋め込み用
@import url(http://d3g0gp89917ko0.cloudfront.net/v--edac79f846ba/common--theme/base/css/style.css); @import url(http://d3g0gp89917ko0.cloudfront.net/v--edac79f846ba/common--theme/shiny/css/style.css); @import url(http://scp-jp.wdfiles.com/local--theme/scp-sigma-9-off-canvas/style.css); #header, #side-bar, #footer, #license-area, .description-block, .options, #page-title { display:none !important; } #page-content, #content-wrap { min-height:0px !important; } div#container-wrap{ background: none; }
トップページ用
table.Discus tr td{ width: 100%; margin: 10px auto; padding: 10px; border-radius: 1px; border: none; background: #fff; box-sizing: border-box; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24); } table.Discus tr td iframe{ border:none; overflow-y:hidden; margin:0; } table.Discus { width:100%; }
パラメータとしてCSSを渡した状態で最新のポストを表示するhtml
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ja" lang="ja"> <head> <title>フォーラムRSSからの動的取得用</title> <meta http-equiv="content-type" content="text/html;charset=UTF-8"/> <meta name="viewport" content="width=device-width,initial-scale=1.0,minimum-scale=1.0"/> <meta http-equiv="content-language" content="ja"/> <head> <style> body{ padding:0px; overflow : hidden ; background-color:transparent; } iframe{ margin:0; width:100%; height:300px; } </style> <script type="text/javascript"> var isFirstLoad = true; document.addEventListener( 'DOMContentLoaded',function() { var getHref = location.href; var tmpAnalysis = getHref.split("#"); if(tmpAnalysis.length < 2){return;} tmpAnalysis.shift(); getHref =tmpAnalysis.join("#"); var hash = ""; if(getHref.indexOf("#") >= 0){ var tmpHref = getHref.split("#"); getHref = tmpHref[0]; hash = "#"+tmpHref[1]; } if(getHref.length < 1){return;} thread.src = getHref + "?theme_url=http://shitake-crude-production.wdfiles.com/local--code/forinnersystemcss/1"+hash; }); </script> </head> <body> <iframe id="thread" src=""></iframe> </body> </html>
page revision: 49, last edited: 02 Jan 2018 10:50




.png)


