forked from katezach/FinalProjectPSPI
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaccessibility.css
128 lines (128 loc) · 2.18 KB
/
accessibility.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
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
.image-text{
width: 450px;
margin-top: 250px;
text-align: right;
}
/*Title*/
.image-text h1{
font-size: 60px;
font-style: italic;
}
/*Subtitle*/
.image-text h2{
font-size: 21px;
}
/*Category image*/
.image-border{
padding-top: 50px;
}
/*when screen>1350px move text*/
@media (min-width:1350px){
#move{
position: absolute;
}
.image-text{
position: relative;
margin-top: 100px;
}
}
.image-border img{
height:530px;
width:100%;
}
/*Side picture*/
.image1{
margin-top: 100px;
}
/*Disabilities,Equality and text below*/
.first-text-border{
margin-top: 100px;
font-size: 20px;
}
.first-text-border h1{
font-size: 35px;
}
.first-text-border h2{
margin-top: 50px;
font-size: 35px;
color: red;
}
/*Ways to solve this.*/
.second-text-border{
margin-top: 100px;
font-size: 20px;
padding-left: 90px;
}
.second-text-border h1{
font-size: 40px;
}
hr{
border-top: 1px solid black;
}
.slideshow-container {
position: relative;
max-width: 1000px;
margin-top: 130px;
}
/* Fading animation */
.fade {
-webkit-animation-name: fade;
-webkit-animation-duration: 5s;
animation-name: fade;
animation-duration: 5s;
}
@-webkit-keyframes fade {
from {opacity: .8}
to {opacity: 1}
}
@keyframes fade {
from {opacity: .8}
to {opacity: 1}
}
/*media queries*/
@media (min-width:992px) and (max-width:1156px){
.first-text-border{
width: 50%;
}
.second-text-border{
padding-left: 10%;
}
}
@media (min-width:300px) and (max-width:447px){
.image-text{
width: 250px;
text-align: left;
}
.image-text h1{
font-size: 40px;
}
.image-text h2{
font-size: 15px;
}
.image-border img{
height: 250px ;
}
.mySlides img,.image1 img{
width: 300px;
}
}
@media (min-width:1350px){
.image-text{
width: 430px;
}
}
@media (max-width:1350px){
.image-text{
margin-top: 50px;
}
}
@media (min-width:746px) and (max-width:1330px){
.image-text , .image-border{
margin-left: 100px;
}
}
@media (min-width:1800px){
.container{
width: 1400px;
}
}