File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 7070 .sub-links a : hover {
7171 color : # 007acc ;
7272 }
73+ /* ============================= */
7374 /* Portfolio Section */
75+ /* ============================= */
76+
7477 .portfolio-wrapper {
7578 margin-top : 30px ;
7679 }
80+
81+ /* Card container */
7782 .portfolio-card {
7883 display : inline-block;
7984 width : 400px ;
8893 overflow : hidden;
8994 vertical-align : top;
9095 }
96+
97+ /* Shared title styling */
9198 .portfolio-card span {
9299 position : absolute;
93- top : 0 ;
94100 width : 100% ;
95101 padding : 12px 0 ;
96102 background : rgba (0 , 0 , 0 , 0.6 );
97103 text-align : center;
98104 font-weight : bold;
99105 transition : background 0.3s ease;
100106 }
107+
108+ /* Title at top */
109+ .portfolio-card .title-top span {
110+ top : 0 ;
111+ }
112+
113+ /* Title at bottom */
114+ .portfolio-card .title-bottom span {
115+ bottom : 0 ;
116+ }
117+
118+ /* Hover effect */
101119 .portfolio-card : hover span {
102120 background : rgba (0 , 0 , 0 , 0.8 );
103121 text-decoration : underline;
You can’t perform that action at this time.
0 commit comments