-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
120 lines (103 loc) · 2.35 KB
/
styles.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
/* css styles */
body {
font-family: 'Arial', sans-serif;
position: relative;
}
body::before,
body::after {
content: "";
background-image: url('assets/images/bg-pic.svg');
background-repeat: no-repeat;
background-attachment: fixed;
background-size: 300px; /* Adjust size as needed */
opacity: 0.3; /* Adjust this value to change transparency (0.0 to 1.0) */
position: fixed;
z-index: -1; /* Ensures the images stay behind your content */
pointer-events: none; /* Allows clicking through the images */
}
body::before {
background-position: right bottom;
top: 0;
left: 0;
right: 0;
bottom: 0;
transform: rotate(180deg);
}
body::after {
background-position: right bottom;
top: 0;
left: 0;
right: 0;
bottom: 0;
}
/* Add this to ensure content is above the background image */
.content-wrapper {
position: relative;
z-index: 1;
}
/* @import url('https://fonts.cdnfonts.com/css/latin-modern-sans');
/* Apply Latin Modern Sans to the whole document */
/* body {
font-family: 'Latin Modern Sans', sans-serif;
} */ */
/* Customize header colors */
h1, h2, h3 {
color: #4a4a4a;
}
/* Style links */
a {
color: #0066cc;
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
/* Customize the navigation bar */
.navbar {
background-color: #f8f9fa;
}
/* Style code blocks */
pre {
background-color: #f1f1f1;
padding: 10px;
border-radius: 5px;
}
.button-container {
display: flex;
flex-direction: column;
align-items: center;
gap: 1rem;
margin-top: 1rem;
margin-bottom: 1rem;
}
.custom-button {
display: inline-block;
padding: 0.5rem 1rem;
background-color: #fff;
color: #2c3e50;
border: 2px solid #2c3e50;
text-decoration: none;
font-weight: bold;
transition: all 0.3s ease;
border-radius: 4px; /* This adds slight rounding to the buttons */
}
.custom-button:hover {
background-color: #2c3e50;
color: #fff;
text-decoration: none; /* This prevents underline on hover */
}
.card-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 1rem;
}
.card {
border: 1px solid #ddd;
border-radius: 4px;
padding: 1rem;
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.card h3 {
margin-top: 0;
color: #2c3e50;
}