Skip to content

Commit 238ec61

Browse files
committed
raw for sub header
1 parent 888c13a commit 238ec61

File tree

2 files changed

+37
-1
lines changed

2 files changed

+37
-1
lines changed

departments/computer/I-Scheme.html

+12-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,18 @@
1616

1717
<body>
1818
<link rel="stylesheet" href="comp.css" type="text/css">
19-
<script src="../../loadheader.js"></script>
19+
20+
21+
<header class="subheader">
22+
<nav class="subheader-nav">
23+
<ul>
24+
<li><a href="#">About</a></li>
25+
<li><a href="#">Services</a></li>
26+
<li><a href="#">Portfolio</a></li>
27+
<li><a href="#">Contact</a></li>
28+
</ul>
29+
</nav>
30+
</header>
2031

2132
<section class="section computer-department" data-section="computer-department">
2233
<div class="container">

departments/computer/comp.css

+25
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,31 @@ p {
6464
font-weight: 600;
6565
}
6666

67+
.subheader {
68+
background-color: #f0f0f0;
69+
padding: 10px 0;
70+
}
71+
72+
.subheader-nav {
73+
text-align: center;
74+
}
75+
76+
.subheader-nav ul {
77+
list-style: none;
78+
margin: 0;
79+
padding: 0;
80+
}
81+
82+
.subheader-nav ul li {
83+
display: inline;
84+
margin: 0 10px;
85+
}
86+
87+
.subheader-nav ul li a {
88+
text-decoration: none;
89+
color: #333;
90+
font-weight: bold;
91+
}
6792

6893

6994
.section-heading {

0 commit comments

Comments
 (0)