summaryrefslogtreecommitdiffstats
path: root/HTML/Chapter/Ch. 11 hands-on assignments/Ch11_msglm/11.8.mybistro/11.8.bistro.css
blob: f5084fcb1b1345f82977566517d59aa2866d4df9 (plain) (blame)
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
* { box-sizing: border-box; }
body { font-family: Verdana, Arial, sans-serif;
    background-color: #EAEAEA;
    margin: 0;
}
#wrapper {  
    color: #000066;
    background-color: #FFFFFF;

} 
header { font-family: Georgia, "Times New Roman", serif;
    color: #00005D; 
    background-color: #869dc7; 
    background-image: url(11.8.lighthouselogo.jpg);
    background-repeat: no-repeat;
    margin-top: 0;
    padding-bottom: 1em;
    min-height: 120px;
    height: auto;
}
header h1 { padding-left: 120px;
    padding-top: 40px;
    margin: 0; 	  
}
header span { font-style: italic;
    font-weight: bold;
    font-size: 95%;
    color: #FFFFFF;
    padding-left: 30%;
}
nav {  background-color: #00005D; 
    letter-spacing: 0.1em;
    font-weight: bold;
    padding-right: 2em;
} 
nav ul { list-style-type: none; 
    margin: 0;
}

nav li { padding: 0.5em;
    display: inline-block;
}
nav a { text-decoration: none; 
    display: block;
}
nav a:link { color: #FFFFFF; }
nav a:visited { color: #EAEAEA; }
nav a:hover {  color: #D3DBEB;}
main { background-color: #ffffff;
    color: #000000;
    padding: 10px 20px;

} 

h2 { color: #869dc7; 
    font-family: arial, sans-serif;
    margin: 5px;
}


footer {font-size:70%;
    text-align: center;
    padding: 10px;
    clear: both;
}
header, main, nav, footer, figure, figcaption { display: block; }
@media (min-width: 600px) {
    #wrapper { margin: auto; 
    width: 80%; }
    header span { padding-left: 25%; }
}		 

nav ul ul { 
    position: absolute;
    background-color: #5564A0;
    padding: 0;
    display: none; 
}
nav ul ul li { 
    border: 1px solid #00005D;
    display: block;
    width: 8em;
    padding-left: 1em;
    margin-left: 0; 
}
nav li:hover ul { 
    display: block; 
}