-
-
Notifications
You must be signed in to change notification settings - Fork 213
/
Copy pathstyle.css
99 lines (86 loc) · 1.98 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
/* Reset some basic styles */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
margin: 0;
padding: 0;
font-family: 'Poppins', sans-serif;
}
#container {
background-image: url("assets/Wallpaper.jpeg");
background-size: cover; /* Ensure background covers the container */
background-position: center; /* Center background image */
height: 50%;
display: flex;
align-items: center;
justify-content: center;
}
#main {
background-color: rgba(255, 255, 255, 0.9);
border: 3px solid rgb(6, 3, 18);
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.6);
width: 55%; /* Adjust width for laptop screens */
max-width: 500px; /* Smaller maximum width for laptops */
padding: 1.5rem; /* Padding inside the box */
border-radius: 15px;
}
#heading {
color: rgb(6, 3, 18);
margin-bottom: 1rem;
}
#ip {
color: rgb(6, 3, 18);
font-size: 1.25rem;
text-align: center;
margin-bottom: 1rem;
}
#input2 button {
font-family: Poppins, sans-serif;
background-color: rgb(6, 3, 18);
color: white;
border: none;
padding: 0.75rem 1.5rem;
border-radius: 0.5rem;
transition: background-color 0.3s;
}
#input2 button:hover {
background-color: rgb(49, 43, 75);
}
#output {
margin-top: 1rem;
display: flex;
flex-direction: column;
align-items: center;
}
#output1 {
font-size: 1rem;
color: rgb(6, 3, 18);
text-align: center;
margin-bottom: 0.20rem;
}
#picture {
width: 100%; /* Ensure the picture container is full width */
display: flex;
justify-content: center;
align-items: center;
margin-bottom: 1rem;
}
#picture img {
max-width: 80%; /* Image scales with its container */
height: auto; /* Maintain aspect ratio */
max-height: 140px; /* Maximum height for the image */
}
@media (max-width: 576px) {
#heading h1 {
font-size: 1.2em;
}
#output {
font-size: 1rem;
}
#picture img {
max-height: 150px;
}
}