-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
100 lines (88 loc) · 1.69 KB
/
style.css
File metadata and controls
100 lines (88 loc) · 1.69 KB
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
/* Google Fonts */
@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;700&family=Poppins:wght@500;700&display=swap");
/* Body */
body {
background-color: #f4f7fa;
font-family: 'Open Sans', sans-serif;
color: #333;
font-size: 18px;
line-height: 1.6;
text-align: center;
padding: 40px;
}
/* Card */
.card {
background-color: white;
padding: 12px;
margin: 12px auto;
width: 100%;
max-width: 400px;
border-radius: 8px;
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}
/* Headers */
h1 {
font-family: 'Roboto', sans-serif;
font-size: 32px;
color: #1e1e1e;
}
h2 {
font-family: 'Roboto', sans-serif;
font-size: 20px;
color: #3a3a3a;
}
/* Image Styling */
img {
border-radius: 8px;
width: 150px;
margin: 20px auto;
}
/* Links */
.social-icon {
color: #2ecc71;
font-size: 24px; /* optional: bigger icon */
}
.social-icon:hover {
color: #27ae60;
}
/* Boxes / Global DIV
div {
background-color: white;
padding: 12px;
width: 400px;
margin: 12px auto;
border-radius: 8px;
border: 1px solid #EAEAEA;
box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}
*/
/* Lists */
.list-inline{
list-style: none; /* Removes the bullet */
padding-left: 0; /* Removes default left padding */
margin: 0; /* Optional: removes spacing around */
text-align: center; /* Optional: center icons horizontally */
}
.list-inline > li {
display: inline-block;
padding: 0 10px;
}
.container {
width: 800px;
margin: 0 auto;
}
@media (max-width: 960px) {
.container {
width: 700px;
}
}
@media (max-width: 720px) {
.container {
width: 500px;
}
}
@media (max-width: 540px) {
.container {
width: 90%; /* or 300px */
}
}