-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
175 lines (132 loc) · 2.27 KB
/
style.css
File metadata and controls
175 lines (132 loc) · 2.27 KB
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
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
/*Padding and border added to at least one element
Margin added to at least one element
At least one centered element (a footer message can be nice for this)
A background image on at least one element
A different font on at least one element
A few elements styled using a class
A different color for visited links
An element styled with an ID*/
header
{
opacity: .8;
text-align: left;
position: fixed;
top: 0;
left: 0;
height: 30px;
background-color: black;
width: 100%;
border-radius: 0px 0px 0px 40px;
}
h1
{
text-align: center;
font-family: arial, sans-serif;
color: blue;
}
h2, h3
{
color: red;
}
nav {
display: block;
position: absolute;
}
li{
list-style-type: none;
display: inline;
margin-right: 20px;
font-size:25px
}
a:link {
color: #fff;
text-decoration: none;
padding-right: 10px;
}
a:hover {
color: blue;
text-decoration: none;
}
li > ul {
display: none
}
li:hover ul {display: block; position: absolute; left:20px;background-color:gray;margin:-5px;border-radius:40px 40px 40px 40px; }
li:hover ul li a:link{display: block;margin-left:-18px }
.menu
{
width: 60px;
}
.img-1
{
margin: 10%;
background-color: white;
border-radius: 60%;
border: 9px solid gray;
padding: 10px;
width: 80%;
height: auto;
}
.img-2
{
display: block;
margin-left: auto;
margin-right: auto;
width: 60%;
height: auto;
}
.img-3
{
display: block;
margin-left: auto;
margin-right: auto;
background-color: white;
border-radius: 60%;
border: 9px solid gray;
padding: 10px;
width: 80%;
height: auto;
}
.logo
{
display: block;
margin-left: 10%;
background-color: white;
width: 50%;
height: auto;
}
body
{
margin: 50px;
}
footer {
padding: 5px;
opacity: .8;
color: white;
padding-top: 10px;
text-align: center;
position: fixed;
bottom: 0;
left: 0;
height: 30px;
background-color: gray;
width: 100%;
border-radius: 40px 0px 0px 0px;
}
#first-p
{
font-family: arial, sans-serif;
}
.so{
width: 30px;
}
/*===============pictures===========================*/
.black {
background: #a5a5a5;
}
.b #a {
margin: 8px;
border: 9px solid #deb887;
padding: 5px;
width: 80%;
/*height: auto;*/
}