-
Notifications
You must be signed in to change notification settings - Fork 3
/
Peer-graded_Assignment:Styling_A_Table.css
88 lines (86 loc) · 1.67 KB
/
Peer-graded_Assignment:Styling_A_Table.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
header{
background-image: url("http://intro-webdesign.com/CSS/assignment-2/images/flywheel.jpg");
background-repeat: no-repeat;
background-size:cover;
height:150px;
}
body{
margin: 10px;
padding:10px;
}
h1{
text-align: center;
color: #ffffff;
font-family: serif;
font-size: 40px;;
text-transform: lowercase;
}
a{
font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
color: #000000;
background-color: #eeeeee;
}
nav a{
display:inline-block;
padding:15px 60px 15px;
border-radius:5px;
margin-left: 5%;
margin-right:5%;
background-color: rgba(255, 255, 255,0.3);
text-decoration: none;
}
a.active{
background-color: white;
color:#0000ff
}
aside.left {
width: 15%;
height: 15%;
display: inline-block;
background: #527219;
padding: 2%;
}
aside.left img {
border: 2px solid #000;
width: 85%;
height: 85%;
float:left;
margin-bottom: 30px;
clear:left;
}
section.right {
float: right;
width: 80%;
}
table{
width: 80%;
margin-left: 10%;
line-height: 35px;
}
table td{
background-color: #cee7a3;
text-align: center;
opacity: 0.75;
font-family:'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}
table th{
background-image: linear-gradient(to bottom,#83b52b,#4f6d1a);
border-top-left-radius: 5px;
border-top-right-radius: 5px;
opacity: 0.8;
color: #ffffff;
}
table th:nth-child(1){
text-align: left;
padding-left: 15px;
}
table td:hover,th:hover{
opacity: 1;
}
table tr td:nth-child(1){
text-align:left;
padding-left: 15px;
}
table:last-child{
margin-bottom: 100px;
}