-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
109 lines (92 loc) · 2.11 KB
/
style.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
/* importing Google fonts */
@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:[email protected]&display=swap');
/* Global Styles */
body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
margin: 0;
padding: 0;
color: #333333;
background: linear-gradient(135deg, #f6d365, #fda085); /* Gradient background for the entire page */
}
/* Pading for the containefr */
.container {
width: 90%;
margin: 0 auto;
}
/*Styling and adding padding for Header */
h1 {
font-family: "Dancing Script", cursive;
font-size: 2.5rem;
font-weight: bold;
text-align: center;
margin-bottom: 30px;
color: red;
font-size: 50px;
}
/* styling for paragraph tag */
p{
color: rgb(0, 76, 255) ;
font-size: x-large;
font-family: cursive;
font-style: italic;
padding: 10px;
}
/* styling for h2 tag */
h2{
font-family: cursive;
font-size: 2.5rem;
font-weight: bold;
margin-bottom: 30px;
color: red;
font-size: 30px;
}
/* Setting Card Styles & Padding*/
.card {
background: #70776da1;
border: 1px solid #dddddd;
border-radius: 10px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
transition: transform 0.3s ease;
color: #333333;
padding: 20px;
}
/* Setting hover for cards */
.card:hover {
transform: translateY(-5px);
}
.card-img-top {
border-radius: 10px 10px 0 0;
}
.card-title {
font-size: 1.4rem;
margin-top: 10px;
color: greenyellow;
font-family: cursive;
}
.card-body {
font-size: 1.1rem;
font-weight: 400;
}
/* Button Styles */
.btn-primary {
background-color: #007bff;
border-color: #007bff;
border-radius: 5px;
font-weight: bold;
transition: background-color 0.3s ease;
}
.btn-primary:hover {
background-color: #0056b3;
border-color: #0056b3;
}
/* Setting responsiveness for the website for all devices */
@media (min-width: 768px) {
.container {
width: 70%;
}
}
@media (max-width: 576px) {
.container {
width: 90%;
}
}