Browse Source

Fix cross-domain stylesheet...

gh-pages
Chris Smith 9 years ago
parent
commit
f91cd86f35
2 changed files with 47 additions and 2 deletions
  1. 2
    2
      index.html
  2. 45
    0
      res/style.css

+ 2
- 2
index.html View File

@@ -2,10 +2,10 @@
2 2
 <html xmlns="http://www.w3.org/1999/xhtml">
3 3
   <head>
4 4
     <title>Android projects by Chris Smith</title>
5
-    <link rel="stylesheet" type="text/css" href="http://chris.smith.name/style.css"/>
5
+    <link rel="stylesheet" type="text/css" href="res/style.css"/>
6 6
     <style type="text/css">
7 7
      .sidebar { float: left; clear: left; margin-right: 15px; width: 128px; }
8
-     .sidebar img { width: 128px; margin-bottom: 10px; } 
8
+     .sidebar img { width: 128px; margin-bottom: 10px; }
9 9
      div.main { margin-left: 143px; }
10 10
      h3 { border-bottom: 1px solid #ccc; clear: both; }
11 11
     </style>

+ 45
- 0
res/style.css View File

@@ -0,0 +1,45 @@
1
+body {
2
+ margin: 50px 10%;
3
+ font-family: "DejaVu Sans", sans-serif;
4
+}
5
+
6
+h1 {
7
+ border-bottom: 3px double #aaa;
8
+ color: #aaa;
9
+}
10
+
11
+div#footer {
12
+ clear: both;
13
+ padding-top: 20px;
14
+ border-bottom: 3px double #aaa;
15
+}
16
+
17
+h1 span {
18
+ padding-left: 3px;
19
+ color: #000;
20
+}
21
+
22
+div.left {
23
+ float: left;
24
+ width: 48%;
25
+ clear: both;
26
+}
27
+
28
+div.right {
29
+ float: right;
30
+ width: 48%;
31
+}
32
+
33
+a img {
34
+ border: 0px;
35
+}
36
+
37
+dd {
38
+ margin-bottom: 10px;
39
+}
40
+
41
+p, dd, dt {
42
+ font-family: sans-serif;
43
+ text-align: justify;
44
+ line-height: 150%;
45
+}

Loading…
Cancel
Save