diff --git a/index.html b/index.html new file mode 100644 index 0000000..0176b93 --- /dev/null +++ b/index.html @@ -0,0 +1,60 @@ + + + + + Мои проекты + + + + + + \ No newline at end of file diff --git a/styles.css b/styles.css new file mode 100644 index 0000000..e112d3d --- /dev/null +++ b/styles.css @@ -0,0 +1,65 @@ +.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; +} + +.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