From 96dac78520764d1c9e616f1131d79e1cedc9ade4 Mon Sep 17 00:00:00 2001 From: Boshitha Gunarathna Date: Sat, 23 Nov 2024 14:06:22 +0530 Subject: [PATCH] Update CandidateHome.css --- .../AIPT/src/pages/Styles/CandidateHome.css | 74 +++++++++++-------- 1 file changed, 42 insertions(+), 32 deletions(-) diff --git a/frontend/AIPT/src/pages/Styles/CandidateHome.css b/frontend/AIPT/src/pages/Styles/CandidateHome.css index 02f1c89..8dec2f8 100644 --- a/frontend/AIPT/src/pages/Styles/CandidateHome.css +++ b/frontend/AIPT/src/pages/Styles/CandidateHome.css @@ -23,6 +23,17 @@ body { /* Job Section */ + +.left-side { + flex: 1; + background-color: #f9f9f9; + padding: 15px; + border-radius: 8px; +} + +.right-side { + flex: 3; +} .job-section { margin-top: 40px; padding-bottom: 40px; @@ -44,14 +55,29 @@ body { } .job-card { - background-color: #ffffff; + display: flex; + flex-direction: column; + gap: 10px; + padding: 15px; border: 1px solid #ddd; border-radius: 8px; - box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); + margin-bottom: 15px; +} +.job-image { + max-width: 100%; + border-radius: 5px; +} +.job-actions { + display: flex; + justify-content: space-between; +} +.main-content { + display: flex; + gap: 20px; padding: 20px; - transition: transform 0.3s, box-shadow 0.3s; } + .job-card:hover { transform: translateY(-5px); box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2); @@ -69,47 +95,31 @@ body { margin-bottom: 20px; } -.apply-button { - background-color: #32007d; - color: white; +.apply-button, .save-button { + padding: 10px; border: none; - padding: 10px 20px; - border-radius: 5px; cursor: pointer; - transition: background-color 0.3s; + border-radius: 5px; } -.apply-button:hover { - background-color: #5c1a8e; +.apply-button { + background-color: #4caf50; + color: white; } -/* Header Section Styles */ -.header { - position: absolute; - top: 0; - left: 0; - width: 100%; - padding: 20px; - background-color: #3e72a6; +.save-button { + background-color: #f1c40f; color: white; - /* Initially hide the header */ - z-index: 2; /* Ensures it's above the banner */ - transition: opacity 0.3s ease; - } +} + + + + .header-banner:hover .header { display: block; /* Show the header on hover */ } -header h1 { - font-size: 2.5rem; - margin-bottom: 10px; -} - -header p { - font-size: 1.2rem; - margin-bottom: 20px; -} /* Header Banner Section */