Difference between revisions of "User:Dojo"

 
(17 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div id="notice" style="background-color: #f2adad; padding: 2px; border: 3px #b15959 solid; margin-bottom: 30px;">Under construction. Expect more stuff to happen.</div>
+
<div id="content" style="width: 600px; margin-left: auto; margin-right: auto; background-color: #cfffbe; border: 5px #6eac68 solid; ">
<div id="header" style="width: 100%; text-align: center; font-size: 70px;">AoPS Blog CSS Tutorial</div>
+
<h1 style="font-family: 'ITC Avant Garde Gothic Std','URW Gothic L','Century Gothic','Avant Garde','Trebuchet MS',sans-serif; margin-left: 10px;"> Dojo's Wiki</h1>
<div style="font-size: 20px; text-align: center; width: 100%; margin-top: 40px;">Written By Dojo</div>
+
<div id="inner" style="width: 500px; margin-left: auto; margin-right: auto;">
<br />
+
Please visit my website: [http://www.dgkim.com dgkim.com]
<br />
+
</div>
<div id="part_header" style="width: 100%; text-align: center; font-size: 30px;">Part 1: Setting up</div>
 
<br />
 
<div id="info">
 
This is part one of AoPS blog CSS customization. It is about setting up the blog so it can be edited. First, the browser that is most suited to (and basically required for my methods) web development like this is Opera. You should download Opera (if you can) and use it for your web development.
 
<br />
 
<br />
 
Now, open up a blog that seems to have little to no custom CSS. In this example, I will use Hurdler's blog.
 
<br />
 
<br />
 
[[File:Screen1.png]]
 
<br />
 
<br />
 
Right click, view source. Now you should see:
 
<br />
 
<br />
 
[[File:Screen2.png]]
 
<br />
 
<br />
 
Remove the line that says:
 
<pre><nowiki> <link href="./blog/styles/hyperion/styles/c40902.css" type="text/css" rel="stylesheet" />
 
</nowiki></pre>
 
If you are using a blog other than Hurdler's you should see a different number than 40902. <br/>
 
Next, in the line you deleted, type in the code:
 
<pre><nowiki> <style>
 
</style>
 
</nowiki></pre>
 
And press apply changes. Your code should look like:
 
<pre><nowiki><head>
 
  <link href="./blog/styles/hyperion/blog/stylesheet.css" type="text/css" rel="stylesheet" />
 
 
 
  <link href="./blog/styles/hyperion/styles/40902.css" type="text/css" rel="stylesheet" /> <-- May or may not be there.
 
<style>
 
</style>
 
  <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js"></script>
 
  <script type="text/javascript" src="./styles/aops/template/forum_fn.js"></script>
 
  <script type="text/javascript" src="/system/js/geogebra.js"></script>
 
  <script type="text/javascript">
 
...
 
</nowiki></pre>
 
With possibly different numbers. <br/><br/>
 
 
 
This next part is optional. If you want to put your name/copyright on the CSS, insert the following in the style tags:
 
<pre><nowiki> /*
 
THEME NAME - Please do not plagiarize
 
YEAR Copyright YOUR NAME
 
Designed for AoPS blogs
 
*/
 
</nowiki></pre>
 
 
</div>
 
</div>

Latest revision as of 03:08, 20 July 2012

Dojo's Wiki

Please visit my website: dgkim.com