Skip to content

Commit affb499

Browse files
committed
externalize CSS
1 parent 8bc162f commit affb499

File tree

2 files changed

+49
-49
lines changed

2 files changed

+49
-49
lines changed

css/style.css

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
@import url('https://fonts.googleapis.com/css?family=Lato');
2+
3+
body {
4+
padding: 0 15px;
5+
margin: 0 15px;
6+
font-family: lato, sans-serif, arial;
7+
}
8+
.ui-jqgrid-htable th,
9+
.ui-jqgrid tr.jqgrow td{
10+
text-transform: capitalize;
11+
}
12+
.ui-jqgrid-htable th div{
13+
font-weight: bold;
14+
}
15+
#menu ul {
16+
list-style-type: none;
17+
margin: 0;
18+
padding: 0;
19+
overflow: hidden;
20+
background-color: #4CB6EA;
21+
}
22+
23+
#menu ul li {
24+
float: left;
25+
}
26+
27+
#menu ul li a {
28+
display: block;
29+
color: white;
30+
text-align: center;
31+
padding: 14px 16px;
32+
text-decoration: none;
33+
}
34+
#menu ul li a:hover,
35+
#menu .active {
36+
background-color: #ddd;
37+
color:black;
38+
}
39+
.footer {
40+
position: fixed;
41+
right: 0;
42+
bottom: 0;
43+
left: 0;
44+
padding: 1rem;
45+
background-color: #efefef;
46+
text-align: center;
47+
}

inc/head.php

Lines changed: 2 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -1,55 +1,8 @@
11
<!DOCTYPE html>
22
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
33
<head>
4+
<title>My Custom CRM</title>
45
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
5-
<link href="https://fonts.googleapis.com/css?family=Lato" rel="stylesheet">
6-
<title> | Custom CRM</title>
7-
<style>
8-
body {
9-
padding: 0 15px;
10-
margin: 0 15px;
11-
font-family: lato, sans-serif, arial;
12-
}
13-
.ui-jqgrid-htable th,
14-
.ui-jqgrid tr.jqgrow td{
15-
text-transform: capitalize;
16-
}
17-
.ui-jqgrid-htable th div{
18-
font-weight: bold;
19-
}
20-
#menu ul {
21-
list-style-type: none;
22-
margin: 0;
23-
padding: 0;
24-
overflow: hidden;
25-
background-color: #333;
26-
}
27-
28-
#menu ul li {
29-
float: left;
30-
}
31-
32-
#menu ul li a {
33-
display: block;
34-
color: white;
35-
text-align: center;
36-
padding: 14px 16px;
37-
text-decoration: none;
38-
}
39-
#menu ul li a:hover,
40-
#menu .active {
41-
background-color: #ddd;
42-
color:black;
43-
}
44-
.footer {
45-
position: fixed;
46-
right: 0;
47-
bottom: 0;
48-
left: 0;
49-
padding: 1rem;
50-
background-color: #efefef;
51-
text-align: center;
52-
}
53-
</style>
6+
<link type="text/css" rel="Stylesheet" href="../css/style.css" />
547
</head>
558
<body>

0 commit comments

Comments
 (0)