-
Notifications
You must be signed in to change notification settings - Fork 0
/
default_2.css
122 lines (102 loc) · 2.71 KB
/
default_2.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
@charset "utf-8";
/* CSS Document */
body
{
background-image:url("IndexImg/pussyback.jpg");
}
#banner
{
/*Sets a fixed width and height for the banner so it cannot change depending on the content in it*/
width:100%;
height:200px;
}
/*The folowing indents are all related to the content part of the page*/
#content
{
width:100%;
font-family:Arial, Helvetica, sans-serif;
font-size:16px;
padding-bottom:0px;
}
#wrapper
{
clear:both;
background:#FFF;
/*Sets a fixed width wrapper so it cannot be compressed as not to mess up the allignments*/
width:970px;
/*Sets the margin on the outside of the wrapper to 0px and auto so it stays in the centre even if the
wiidow is resized untill it reaches 970px across*/
margin:0px auto;
margin-top:0px
/*This alligns all of the text in the page to be centered unless otherwise defined*/
text-align: center;
}
#menuContainer
{
/*Sets a fixed width and height for the banner so it cannot change depending on the content in it*/
width:100%;
height:28px;
/*Takes away all padding so no white space is left in the box*/
padding:0;
font-family:Arial, Helvetica, sans-serif;
font-size:16px;
background:#FFF;
/*If the box is box is filled like it is with the about my course and the How I Made The Website pages
the contents is hidden this stops the other indented un-ordered lines from appearing which would make them
appearing in a way that would be unhelpfull for the user. This also allows the other style sheet to function
correctly as the menu in the other style sheet is vertical*/
overflow: hidden;
}
.menuList
{
/*This stops the points showing in the list*/
list-style-type: none;
/*This makes the list appear horizontally*/
display: inline;
margin: 0px;
padding: 0px;
}
.menuList li
{
width: 241px;
height: 28px;
float: left;
background:#333;
color:#FFF;
text-align:center;
/* Shows thin grey line to seperate list items */
border-right:1px solid #000;
}
.menuList a
{
/* This ensures that the whole element is clickable, not just the link*/
display: block;
/* Removes the default underline on links */
text-decoration:none;
color: #FFF;
/* Sets top&bottom padding to 5 pixels */
padding:5px 0;
}
.menuList a:hover
{
/*When the user hovers over the list the background changes to a lighter grey and the font changes to black*/
color:#000;
background:#CCC;
}
#footer
{
border-top:solid 1px #000;
text-align:center;
}
/*Makes the W3 images smaller and with no border so they do not stand out as much*/
.w3Valid
{
border:0px;
width:40px;
height:15px;
}
/*Sets the Accessibility link at the bottom of the page to a smaler font*/
a.Accessible
{
font-size:9px;
}