1+ /* ===================================
2+ CSS STRUCTURE:
3+ 1. Global Styles
4+ 2. Layout Components
5+ 3. UI Components
6+ 4. Media Queries (Responsive)
7+ =================================== */
8+
9+ /* ===================================
10+ 1. GLOBAL STYLES
11+ =================================== */
12+
13+ /* Reset and base styles */
14+ a {
15+ text-decoration : none;
16+ }
17+
18+ /* ===================================
19+ 2. LAYOUT COMPONENTS
20+ =================================== */
21+
22+ /* Background and animations */
123.gradient-bg {
224 background : linear-gradient (300deg , # 070F2B, # 3572EF, # 3ABEF9 );
325 background-size : 180% 180% ;
1840 }
1941}
2042
43+ /* Main section layout */
2144# main {
2245 min-height : 100vh ;
2346 display : flex;
2447 align-items : center;
2548}
2649
27- a {
28- text-decoration : none;
29- }
50+ /* ===================================
51+ 3. UI COMPONENTS
52+ =================================== */
3053
54+ /* Button icons */
3155.btn-icon {
3256 width : 20px ;
3357 height : 20px ;
3458 margin-right : 8px ;
3559 filter : brightness (0 ) invert (1 );
3660}
3761
38- /* Styles for LinkedIn button */
62+ /* LinkedIn button */
3963.btn-linkedin {
4064 background-color : # 2856C7 ;
4165 color : white;
4266 border : 2px solid # 2856C7 ;
4367 display : flex;
4468 align-items : center;
4569 justify-content : center;
70+ min-width : 130px ;
71+ width : 130px ;
4672}
4773
4874.btn-linkedin : hover {
6288 filter : brightness (0 ) invert (0 );
6389}
6490
65- /* Styles for GitHub button */
91+ /* GitHub button */
6692.btn-github-outline {
6793 background-color : transparent;
6894 color : white;
6995 border : 2px solid white;
7096 display : flex;
7197 align-items : center;
7298 justify-content : center;
99+ min-width : 130px ;
100+ width : 130px ;
73101}
74102
75103.btn-github-outline : hover {
85113 border-color : # 070F2B ;
86114}
87115
88-
89116.btn-github-outline : hover .btn-icon {
90117 filter : brightness (0 ) invert (0 );
91118}
92119
93120.btn-github-outline : focus .btn-icon ,
94121.btn-github-outline : active .btn-icon {
95122 filter : brightness (0 ) invert (1 );
123+ }
124+
125+ /* ===================================
126+ 4. MEDIA QUERIES (RESPONSIVE)
127+ =================================== */
128+
129+ /* Tablet and mobile (below 992px) */
130+ @media (max-width : 991.98px ) {
131+ .col-10 .col-sm-8 .col-lg-6 {
132+ display : flex;
133+ justify-content : center;
134+ margin : 0 auto;
135+ }
136+
137+ .col-10 .col-sm-8 .col-lg-6 img {
138+ margin : 0 auto;
139+ display : block;
140+ }
141+
142+ .col-lg-6 {
143+ text-align : center;
144+ }
145+
146+ .d-grid .gap-2 .d-md-flex {
147+ justify-content : center !important ;
148+ }
149+ }
150+
151+ /* Small mobile (below 576px) */
152+ @media (max-width : 575.98px ) {
153+ .container {
154+ text-align : center;
155+ }
156+
157+ .btn {
158+ margin : 0.25rem !important ;
159+ }
96160}
0 commit comments