Browse Source

Move CSS to its own file

master
Chimo 5 years ago
parent
commit
946f422cd9
2 changed files with 36 additions and 40 deletions
  1. +34
    -0
      css/styles.css
  2. +2
    -40
      index.php

+ 34
- 0
css/styles.css View File

@ -0,0 +1,34 @@
.gnusocial {
background-image: url("../images/gs-c.png");
}
.mediagoblin {
background-image: url("../images/gmg-c.png");
}
.blog {
background-image: url("../images/ch-c.png");
}
li {
background-repeat: no-repeat;
background-position: left 20px;
padding-left: 50px;
}
#list {
list-style-type: none;
}
#list li {
margin-bottom: 12px;
}
figure {
box-shadow: -8px 8px 10px 0px rgba(204,204,204,0.47);
padding: 10px;
}
figcaption {
font-weight: bold;
}

+ 2
- 40
index.php View File

@ -1,46 +1,8 @@
<!DOCTYPE html>
<html>
<head>
<title>ls</title>
<style>
.gnusocial {
background-image: url("images/gs-c.png");
}
.mediagoblin {
background-image: url("images/gmg-c.png");
}
.blog {
background-image: url("images/ch-c.png");
}
li {
background-repeat: no-repeat;
background-position: left 20px;
padding-left: 50px;
}
#list {
list-style-type: none;
}
#list li {
margin-bottom: 12px;
}
figure {
box-shadow: -8px 8px 10px 0px rgba(204,204,204,0.47);
padding: 10px;
}
figcaption {
font-weight: bold;
}
</style>
<title>lifestream</title>
<link rel="stylesheet" href="css/styles.css">
</head>
<body>


Loading…
Cancel
Save