소스 검색

Shows blog title with proper styles and adds Courier New font as a fall back for Consolas and monospace fonts

Muhammad Talha Mansoor 12 년 전
부모
커밋
d7736881d1
2개의 변경된 파일14개의 추가작업 그리고 10개의 파일을 삭제
  1. 13 1
      css/custom.css
  2. 1 9
      index.html

+ 13 - 1
css/custom.css

@@ -14,7 +14,7 @@ background-repeat:repeat;
 .topNavBar {
 background-color: black;
 color: #999;
-font-family: Consolas,monospace;
+font-family: Consolas,monospace, "Courier New";
 font-size: 0.8em;
 text-align:right;
 line-height:1.6em;
@@ -36,6 +36,13 @@ background-size:cover;
 display:block;
 }
 
+#siteTitle{
+font-family:Consolas, monospace, "Courier New";
+font-size:3.0em;
+padding-left:0.5em;
+margin:0.5em 0px 0.5em 0px;
+}
+
 .hmenu {
 background-color: #141414;
 text-align: center;
@@ -75,6 +82,11 @@ box-shadow: 0 0 0px 0px #888;
 margin-top:-16px;
 }
 
+#siteTitle{
+font-size:2.3em;
+padding-left:0px;
+}
+
 .hmenu {
 margin-top:-11px;
 }

+ 1 - 9
index.html

@@ -71,18 +71,10 @@
   <div class="container">
     <div class="row pageForeground">
       <a class="col_12 siteBanner" href="http://www.google.com">
-        <h1>onCrash="reboot()"</h1>
-
-        <div class="jquery" style=
-        "font-family:monospace;color: #006;">
-          onCrash<span style="color: #339933;">=</span><span style=
-          "color: #3366CC;">"reboot()"</span>
-        </div>
+        <h1 id="siteTitle"><span style="color:#000000;">onCrash=</span><span style="color:#610B0B;">"reboot()"</span></h1>
 
         <p>You can, you should, and if you're brave enough to
         start, you will.</p>
-
-        <h3>Blah blah and blah</h3>
       </a>
 
       <div class="col_12 hmenu">