-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
125 lines (109 loc) · 1.7 KB
/
style.css
File metadata and controls
125 lines (109 loc) · 1.7 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
/*My CSS code page*/
html{
font-size:10px;
font-family: "Gelasio", serif;
}
h1{
font-size:40px;
text-align:center;
letter-spacing:1px;
text-height:2px;
color:black;
text-shadow:3px 3px 1px blue;
text-transform: upperCase;
}
h2, h3{
font-size:32px;
text-align:center;
letter-spacing:1px;
text-height:2px;
color:brown;
text-shadow:3px 3px 1px purple;
text-transform: uppercase;
}
p,
li{
font-size:20px;
text-height:1px;
letter-spacing:1px;
color:black;
}
body{
font-size:20px;
width:1200px;
margin: 0 auto;
padding:0 20px 20px 20px;
border:10px purple;
background-color: brown;
}
html{
background-color:blue;
}
/* || header layout */
nav, article,footer {
background-color: orange;
padding: 1%;
}
nav {
font-size:20px;
height: 30px;
display: flex;
margin-bottom: 10px;
text-align: center;
}
nav ul {
padding: 0;
list-style-type: none;
flex: 2;
display: flex;
}
nav li {
display: inline;
text-align: center;
flex: 1;
}
nav a {
display: inline-block;
text-transform: uppercase;
text-decoration: none;
}
nav form {
flex: 1.5;
display: flex;
align-items: center;
height: 100%;
padding: 0 2px;
}
input {
font-size: 20px;
height: 50px;
}
input[type="search"] {
flex: 1;
}
input[type="submit"] {
flex: 0.25;
margin-left: 1px;
background: purple;
border: 10px blue;
color: yellow;
}
script [type="text/javascript"]{
font-size:24;
flex: 2;
margin-left: 1px;
background: purple;
border: 0;
color: white;
}
/* || main layout */
main {
display: flex;
}
article {
flex: 2;
}
footer {
margin-top: 10px;
text-align: center;
}