-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathIndividualContent.css
133 lines (131 loc) · 2.72 KB
/
IndividualContent.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
129
130
131
132
133
@import url('https://fonts.googleapis.com/css?family=Poppins:400,500,600,700&display=swap');
*{
margin: 0;
padding: 0;
font-family: 'Poppins', sans-serif;
}
body {
/* Seting the background color*/
background-color: rgb(255, 250, 244);
}
.heading h1{
/* Seting the background image only on H1 Text*/
background: url("images_Stu3/SlideShow1.jpeg");
background-size: cover;
padding-top: 15%;
padding-bottom: 15%;
color: white;
text-align: center;
font-size: 50px;
animation: slide 15s infinite;
margin-bottom: 5%;
}
/* Creating changing the background on H1 text infinitly (two images) */
@keyframes slide{
50%{
background: url("images_Stu3/SlideShow2.jpeg");
background-repeat: no-repeat;
background-size: cover;
}
100%{
background: url("images_Stu3/SlideShow1.jpeg");
background-repeat: no-repeat;
background-size: cover;
}
}
.content a{
color: green;
margin-left: 5%;
font-size: large;
}
.content a:hover{
color: rgb(3, 3, 3);
}
.content h1{
padding-top: 20px;
color: rgb(10, 66, 4);
margin-left: 5%;
margin-right: 5%;
font-size: 40px;
}
.content h2{
padding-top: 30px;
color: rgb(39, 39, 39);
margin-left: 5%;
margin-right: 5%;
font-size: 30px;
}
.content p{
padding-top: 20px;
color: rgb(39, 39, 39);
margin-left: 5%;
margin-right: 5%;
font-size: 20px;
}
/* Adding a background to advantage texts */
.advantages p{
margin-top: 2%;
margin-bottom: 2%;
margin-right: 5%;
margin-left: 5%;
text-align: center;
border: 1px solid black;
border-radius: 5%;
padding-top: 1%;
padding-bottom: 1%;
background-color: rgb(14, 167, 19);
font-size: 20px;
}
.advantages p:hover{
background-color: rgb(108, 217, 126);
}
.advantages h3{
font-weight: 100;
padding-top: 20px;
color: rgb(39, 39, 39);
margin-left: 5%;
margin-right: 5%;
font-size: 20px;
margin-bottom: 3%;
}
.advantages a{
margin-left: 5%;
color: green;
}
.advantages a:hover{
color: rgb(3, 3, 3);
}
.advantages h2{
padding-top: 30px;
color: rgb(39, 39, 39);
margin-left: 5%;
margin-right: 5%;
font-size: 30px;
margin-bottom: 20px;
}
.images{
text-align: center;
}
.images img{
width: 300px;
height: 300px;
margin-left: 5%;
margin-right: 3%;
border-radius: 5%;
margin-bottom: 5%;
}
#backToTop {
margin-left: 45%;
margin-bottom: 5%;
background-color: #0a8427;
color: white;
border: none;
border-radius: 5px;
padding-left: 20px;
padding-right: 20px;
padding-top: 10px;
padding-bottom: 10px;
}
#backToTop:hover {
background-color: rgb(108, 217, 126);
}