-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtyyli2.css
91 lines (84 loc) · 1.25 KB
/
tyyli2.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
header {
background-image: url(tausta.png);
text-align: center;
min-height: 70px ;
}
nav {
background-color: DarkGreen;
text-align: center;
color: white;
font-family:courier new;
min-heigth: 20 px;
}
.pingviini {
heigth: 80px ;
width: 80px ;
float: left;
}
h2 {
color: White;
font-size: 60px;
font-family: courier new;
}
h1 {
font-family: sans-serif;
}
@media only screen and (max-width: 1080px) {
body {
img {
width: 100%;
}
}
}
@media only screen and (min-width: 1081px) {
body {
img {
width: 50%;
}
}
}
.keskitä {
text-align: center;
}
.made-with-vim {
width:80px;
height:60px;
}
@media (prefers-color-scheme: light) {
a {
color: black;
}
body {
background-color: white;
color: black;
}
h2 {
color: black;
font-size: 60px;
font-family: courier new;
text-shadow: 2px 2px #006400;
}
}
@media (prefers-color-scheme: dark) {
a {
color: white;
}
body {
background-color: black;
color: white;
}
h2 {
color: White;
font-size: 60px;
font-family: courier new;
}
}
p {
font-family: sans-serif;
}
h3 {
font-family: sans-serif;
}
h4 {
font-family: sans-serif;
}