-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
148 lines (124 loc) · 2.54 KB
/
Copy pathstyles.css
File metadata and controls
148 lines (124 loc) · 2.54 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
*{
box-sizing: border-box;
}
body {
margin: 0px;
background-image: url("Kuvat/bgimg2.jpg");
background-repeat: no-repeat;
background-size: cover;
background-position: center center;
}
.header1 {
background-color:rgb(48, 61, 102);
text-align: center;
color: white;
padding: 60px;
position: sticky;
top: 0;
box-shadow:0 0 20px 0 black;
}
.header1 nav a {
color: white;
text-decoration: none;
font-size: 30px;
font-family:cursive;
font-weight: bold;
padding: 10px;
}
#etusivutxt {
padding: 40px;
font-family:'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}
.header1 nav a:hover {
color: tomato;
}
h1, h2 {
color: rgba(100, 24, 24);
}
img {
border-radius:50px 25px 50px 25px ;
max-width: 100%;
height: 30em;
padding: 20px;
transition: 1s;
}
.etusivuimg:hover {
transition:1s;
border-radius: 50%;
}
.wrapper {
display: flex;
flex-direction: row;
justify-content: center;
}
.side {
flex: 1;
padding: 40px 300px 40px 100px;
background-color: rgba(255, 255, 255,0.7);
font-size: 25px;
font-family: Verdana, sans-serif;
}
.main {
flex:2;
padding: 20px;
background-color: rgba(100, 24, 24, 0.7);
text-align: center;
}
footer {
background-color:rgb(23, 24, 27);
color: white;
text-align: center;
padding: 30px;
}
/*Ultra wide PC monitor responssiivisuus*/
@media only screen and (min-width:2400px) {
.side {
font-size: 2em;
}
.header1 {
padding: 100px;
}
.header1 nav a {
font-size: 50px;
}
}
/* Tablet responssiivisuus*/
@media only screen and (max-width:1024px) {
.wrapper {
flex-direction: column;
}
.side {
padding:40px;
}
}
/* Matkapuhelin responssiivisuus*/
@media only screen and (max-width:430px) {
.header1 {
padding:20px;
}
.side {
font-size: 15px;
padding: 20px;
}
.header1 nav a {
font-size: 25px;
display: block;
padding: 0px;
}
#etusivutxt {
padding: 5px;
}
}
/* Matkapuhelin käännettynä responssiivisuus*/
@media only screen and (max-height:550px) {
.header1 {
padding:30px;
}
.side {
font-size: 15px;
padding: 20px;
}
.header1 nav a {
font-size: 20px;
}
}