-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathstyles_background.css
More file actions
148 lines (135 loc) · 4.13 KB
/
Copy pathstyles_background.css
File metadata and controls
148 lines (135 loc) · 4.13 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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
.hero-cta {
display: flex;
gap: 1rem;
margin-top: 2rem;
flex-wrap: nowrap;
justify-content: center;
}
.ide-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 1rem;
}
.run-button {
padding: 0.4rem 0.8rem;
font-size: 0.9rem;
}
.benefits-section {
padding: 4rem 2rem;
}
.benefits-title {
text-align: center;
margin-bottom: 3rem;
}
.benefits-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 2rem;
max-width: 1200px;
margin: 0 auto;
}
/* --- Info Section Styling --- */
.info-section {
/* Apply frosted glass effect */
background-color: rgba(28, 29, 41, 0.6); /* Semi-transparent background matching cards/nav */
backdrop-filter: blur(var(--frosted-glass-blur));
-webkit-backdrop-filter: blur(var(--frosted-glass-blur)); /* For Safari */
padding: 4rem 2rem; /* Generous padding for content */
margin-top: 2rem; /* Spacing from the section above */
border-top: 1px solid rgba(255, 255, 255, 0.08); /* Subtle top border for separation */
border-bottom: 1px solid rgba(255, 255, 255, 0.08); /* Subtle bottom border for separation */
}
/* Ensure these text styles are defined for consistency */
.section-title {
margin-bottom: 2rem; /* Space below the main title */
color: var(--text-primary);
text-align: center; /* Typically a section title is centered */
}
.section-heading {
margin-bottom: 1rem;
/* color: var(--accent-blue); is already applied via .text-accent class */
color: var(--text-primary); /* Default text color, .text-accent will override */
}
.section-text {
color: var(--text-secondary);
line-height: 1.7; /* Good readability */
}
/* Ensure the grid gap class is well-defined if it wasn't already */
.grid-3-col-gap-large {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 3rem; /* The larger gap as per your HTML */
}
/* Ensure the max-width container is defined */
.content-section-max-width {
max-width: 1200px;
margin: 0 auto;
}
.cta-bottom-section {
display: flex
;
justify-content: center;
flex-direction: column;
align-content: center;
align-items: center;
}
.grid-3-col-gap {
display: flex
;
flex-direction: column;
align-content: center;
align-items: center;
justify-content: center;}
/* Disable recently clicked link highlight */
a:focus,
a:active {
outline: none; /* Removes the default browser outline */
background-color: transparent; /* Ensures no background color is added on click/focus */
box-shadow: none; /* Ensures no shadow is added on click/focus */
-webkit-tap-highlight-color: transparent; /* For mobile browsers (iOS Safari specifically) */
}
/* If you have specific link classes, apply it there too for safety */
.page-link:focus,
.page-link:active {
outline: none;
background-color: rgba(255, 255, 255, 0.1); /* Keep your desired hover background if it applies here */
box-shadow: none;
-webkit-tap-highlight-color: transparent;
}
/* --- Link Styling within Cards --- */
/* Style links specifically within the .card element to look like buttons */
.card a {
display: flex; /* Essential to allow padding and width/height */
color: white; /* Button text color */
border: none;
width: 100%;
padding: 0.8rem 1.5rem; /* Standard button padding */
border-radius: var(--border-radius); /* Use your defined border-radius */
font-weight: 600;
text-decoration: none; /* Remove underline */
cursor: pointer;
transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease; /* Smooth transitions */
font-size: 1rem; /* Standard button font size */
box-shadow: 0 5px 15px rgba(75, 156, 255, 0.2); /* Subtle shadow for depth */
}
.card a:hover {
transform: translateY(-2px);
box-shadow: 0 8px 20px rgba(75, 156, 255, 0.3); /* Slightly stronger shadow on hover */
}
.grid-3-col-gap .card {
margin-bottom: 12px;
}
.content-section-center {
width: 100%;
display: flex
;
flex-direction: column;
align-content: space-around;
align-items: center;
justify-content: center;
}
.card {
width: 100%;
align-items: center
}