-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
87 lines (76 loc) · 1.79 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
/* Global Styles like padding ,bg pics */
body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
margin: 0;
padding: 0;
color: #333333;
/* Use the Hogwarts castle image as the background */
background-image: url('https://wallpapercave.com/wp/TBDGk2C.jpg');
background-size: cover; /* Ensure the background image covers the entire viewport */
background-attachment: fixed; /* Make the background image fixed */
}
/*Styling and adding padding for Header */
h1 {
font-family:cursive;
font-size: 2.5rem;
font-weight: bold;
text-align: center;
margin-bottom: 30px;
color: red;
font-size: 50px;
}
/* styling for paragraph tag */
.characters{
color: gold ;
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: #1f1f1fa1;
border: 1px solid #dddddd;
border-radius: 10px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
transition: transform 0.3s ease;
color: #f4f0f0;
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;
}
/* Setting responsiveness for the website for all devices */
@media (min-width: 768px) {
.container {
width: 70%;
}
}
@media (max-width: 576px) {
.container {
width: 90%;
}
}