diff --git a/image-temp.jpg b/image-temp.jpg new file mode 100644 index 0000000..90c1583 Binary files /dev/null and b/image-temp.jpg differ diff --git a/index.html b/index.html new file mode 100644 index 0000000..de82405 --- /dev/null +++ b/index.html @@ -0,0 +1,61 @@ + + + + + Мои проекты + + + + + + \ No newline at end of file diff --git a/styles.css b/styles.css new file mode 100644 index 0000000..38f0a94 --- /dev/null +++ b/styles.css @@ -0,0 +1,75 @@ +.project-gallery{ + display: grid; + grid-template-columns: 1fr 1fr 1fr; + gap: 15px; + justify-content: center; + margin: 20px; +} +.project-card { + width: 300px; + height: 400px; + border: 2px solid #e0e0e0; + border-radius: 10px; + box-shadow: 8px 4px 8px rgba(66, 60, 60, 0.233); + overflow: hidden; + display: flex; + flex-direction: column; + justify-content: center; + align-items: center; + background-color: white; +} + +.project-image { + width: 100%; + height: auto; + max-height: 150px; + object-fit: cover; + flex-grow: 1; + margin: 10px 0; + border-radius: 4px; + transition: transform 0.5s; +} +.project-image:hover { + transform: scale(1.2); +} + + +.project-content { + padding: 20px; + text-align: center; + flex-grow: 1; + display: flex; + flex-direction: column; + justify-content: space-between; + align-items: center; +} + +.project-title { + margin: 10px 0; + color: #333; +} + +.project-description { + color: #666; + line-height: 1.5; + margin: 10px 0; +} + +.project-button { + background-color: #4CAF50; + color: white; + border: none; + padding: 12px 24px; + border-radius: 5px; + font-size: 16px; + transition: transform 0.2s; + box-shadow: 3px 5px 3px rgba(56, 61, 66, 0.527); + margin-top: 10px; +} + +.project-button:hover { + transform: scale(1.1) translateY(-3px); +} +.project-button:active { +background-color: darkgreen; +} \ No newline at end of file