|
| 1 | +.shared-projects-container { |
| 2 | + flex: 1; |
| 3 | + padding: 40px; |
| 4 | + max-width: 1200px; |
| 5 | + margin: 0 auto; |
| 6 | + background-color: #fafafa; |
| 7 | + min-height: 100vh; |
| 8 | +} |
| 9 | + |
| 10 | +.search-input { |
| 11 | + width: 1180px; |
| 12 | + padding: 12px; |
| 13 | + font-size: 18px; |
| 14 | + margin-bottom: 40px; |
| 15 | + border: 1px solid #ccc; |
| 16 | + border-radius: 8px; |
| 17 | + background-color: white; |
| 18 | +} |
| 19 | + |
| 20 | +.tab-buttons { |
| 21 | + display: flex; |
| 22 | + margin-bottom: 24px; |
| 23 | +} |
| 24 | + |
| 25 | +.tab { |
| 26 | + padding: 8px 18px; |
| 27 | + background-color: #f0f0f0; |
| 28 | + color: #333; |
| 29 | + border: 1px solid #ccc; |
| 30 | + border-radius: 8px; |
| 31 | + cursor: pointer; |
| 32 | + font-size: 18px; |
| 33 | + transition: all 0.2s ease-in-out; |
| 34 | +} |
| 35 | + |
| 36 | +.tab.active { |
| 37 | + background-color: #a684f1; |
| 38 | + color: white; |
| 39 | + border-color: #a684f1; |
| 40 | +} |
| 41 | + |
| 42 | +.cards-wrapper { |
| 43 | + display: flex; |
| 44 | + flex-wrap: wrap; |
| 45 | + gap: 20px; |
| 46 | + margin-top: 10px; |
| 47 | +} |
| 48 | + |
| 49 | +.project-card { |
| 50 | + flex: 1 1 calc(33.333% - 20px); |
| 51 | + background-color: white; |
| 52 | + padding: 18px; |
| 53 | + border-radius: 16px; |
| 54 | + box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06); |
| 55 | + min-height: 250px; |
| 56 | + display: flex; |
| 57 | + flex-direction: column; |
| 58 | + justify-content: space-between; |
| 59 | + box-sizing: border-box; |
| 60 | +} |
| 61 | + |
| 62 | +.project-card:hover { |
| 63 | + transform: translateY(-4px); |
| 64 | + box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1); |
| 65 | +} |
| 66 | + |
| 67 | +.card-title { |
| 68 | + font-size: 22px; |
| 69 | + font-weight: bold; |
| 70 | + color: #333; |
| 71 | + margin-bottom: 4px; |
| 72 | +} |
| 73 | + |
| 74 | +.tag { |
| 75 | + font-size: 16px !important; |
| 76 | + padding: 4px 10px; |
| 77 | + border-radius: 6px; |
| 78 | + margin-bottom: 6px; |
| 79 | + display: inline-block; |
| 80 | +} |
| 81 | + |
| 82 | +.tag-edit { |
| 83 | + background-color: #dbf5db !important; /* 연한 초록 */ |
| 84 | + color: #2a9232; |
| 85 | +} |
| 86 | + |
| 87 | +.tag-view { |
| 88 | + background-color: #e6ecfd !important; /* 연한 파랑 */ |
| 89 | + color: #4469e6; |
| 90 | +} |
| 91 | + |
| 92 | +.tag-comment { |
| 93 | + background-color: #f5e7ff !important; /* 연한 보라 */ |
| 94 | + color: #a153e8; |
| 95 | +} |
| 96 | + |
| 97 | + |
| 98 | +.description { |
| 99 | + font-size: 20px !important; |
| 100 | + color: #666; |
| 101 | + line-height: 1.4; |
| 102 | + margin-bottom: 12px; |
| 103 | +} |
| 104 | + |
| 105 | +.card-bottom { |
| 106 | + display: flex; |
| 107 | + justify-content: space-between; |
| 108 | + align-items: center; /* 세로축 중앙 정렬 */ |
| 109 | + flex-wrap: wrap; |
| 110 | + gap: 10px; |
| 111 | +} |
| 112 | + |
| 113 | + |
| 114 | +.card-meta { |
| 115 | + display: flex; |
| 116 | + gap: 10px; |
| 117 | + font-size: 15px; |
| 118 | + color: #555; |
| 119 | +} |
| 120 | + |
| 121 | +.language, |
| 122 | +.date { |
| 123 | + font-size: 15px; |
| 124 | + color: #555; |
| 125 | +} |
| 126 | + |
| 127 | +.open-button { |
| 128 | + align-self: flex-end; |
| 129 | + font-size: 18px; |
| 130 | + padding: 6px 17px; |
| 131 | + border-radius: 6px; |
| 132 | + background-color: #f0f0f0; |
| 133 | + border: 1px solid #ccc; |
| 134 | + cursor: pointer; |
| 135 | +} |
| 136 | + |
| 137 | +.card-header { |
| 138 | + margin-bottom: 8px; |
| 139 | +} |
| 140 | + |
| 141 | +.language { |
| 142 | + background-color: #fafafa; |
| 143 | +} |
| 144 | + |
| 145 | +.collaborators { |
| 146 | + font-size: 15px; |
| 147 | + color: #555; |
| 148 | + display: inline-block; |
| 149 | + padding-left: 4px; /* 왼쪽 공간만 확보 */ |
| 150 | +} |
| 151 | + |
0 commit comments