Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
portfolio_rezult
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Шестак Мария Максимовна
portfolio_rezult
Commits
6b2b2cf3
Commit
6b2b2cf3
authored
Jun 02, 2025
by
Шестак Мария Максимовна
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Upload New File
parent
6b21efd8
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
187 additions
and
0 deletions
+187
-0
style.css
style.css
+187
-0
No files found.
style.css
0 → 100644
View file @
6b2b2cf3
body
{
font-family
:
sans-serif
;
margin
:
0
;
padding
:
0
;
background-color
:
#f4f4f4
;
color
:
#333
;
line-height
:
1.6
;
}
header
{
background-image
:
linear-gradient
(
to
bottom
,
#000000
,
#ADD8E6
);
color
:
#fff
;
padding
:
1rem
0
;
text-align
:
center
;
}
nav
ul
{
list-style
:
none
;
padding
:
0
;
}
nav
ul
li
{
display
:
inline
;
margin
:
0
1rem
;
}
nav
ul
li
a
{
color
:
#fff
;
text-decoration
:
none
;
}
section
{
padding
:
2rem
;
margin
:
1rem
auto
;
max-width
:
800px
;
background-color
:
#fff
;
border-radius
:
5px
;
box-shadow
:
0
2px
5px
rgba
(
0
,
0
,
0
,
0.1
);
}
#hero
{
background-image
:
linear-gradient
(
to
bottom
,
#ADD8E6
,
#000000
);
color
:
#fff
;
text-align
:
center
;
padding
:
5rem
0
;
}
.hero-content
{
max-width
:
700px
;
margin
:
0
auto
;
}
.hero-content
h1
{
font-size
:
3rem
;
margin-bottom
:
0.5rem
;
}
.hero-content
p
{
font-size
:
1.2rem
;
}
.button
{
display
:
inline-block
;
background-color
:
#65fffa
;
color
:
#000000
;
padding
:
0.5rem
1rem
;
/* Уменьшаем padding */
text-decoration
:
none
;
border-radius
:
5px
;
margin-top
:
1rem
;
}
#about
img
{
width
:
200px
;
margin-bottom
:
1rem
;
display
:
block
;
margin-left
:
auto
;
margin-right
:
auto
;
}
#about
.about-content
{
display
:
flex
;
align-items
:
center
;
/* Выравнивание по вертикали */
gap
:
20px
;
/* Отступ между фото и текстом */
}
#portfolio
.portfolio-grid
{
display
:
grid
;
grid-template-columns
:
repeat
(
auto-fit
,
minmax
(
300px
,
1
fr
));
gap
:
1rem
;
}
.portfolio-item
{
border
:
1px
solid
#ddd
;
padding
:
1rem
;
border-radius
:
5px
;
text-align
:
center
;
}
.portfolio-item
img
{
max-width
:
100%
;
height
:
auto
;
border-radius
:
5px
;
margin-bottom
:
0.5rem
;
}
footer
{
background-color
:
#333
;
color
:
#fff
;
text-align
:
center
;
padding
:
1rem
0
;
}
.discipline-button
{
display
:
inline-block
;
/* чтобы учитывать padding и margin */
padding
:
4px
9px
;
font-size
:
14px
;
font-weight
:
bold
;
text-decoration
:
none
;
color
:
white
;
background-image
:
linear-gradient
(
to
bottom
,
#000000
,
#ADD8E6
);
border-radius
:
5px
;
border
:
none
;
cursor
:
pointer
;
transition
:
background-color
0.3s
ease
;
/* Плавный переход цвета фона */
}
.discipline-button
:hover
{
background-color
:
#2980b9
;
/* Более темный голубой при наведении */
}
.discipline-button
:active
{
background-color
:
#1f618d
;
/* Еще более темный голубой при нажатии */
}
.discipline-button_nao
{
display
:
inline-block
;
/* чтобы учитывать padding и margin */
padding
:
4px
9px
;
font-size
:
14px
;
font-weight
:
bold
;
text-decoration
:
none
;
color
:
white
;
background-image
:
linear-gradient
(
to
bottom
,
#ADD8E6
,
#000000
);
border-radius
:
5px
;
border
:
none
;
cursor
:
pointer
;
transition
:
background-color
0.3s
ease
;
/* Плавный переход цвета фона */
}
.discipline-button_nao
:hover
{
background-color
:
#2980b9
;
/* Более темный голубой при наведении */
}
.discipline-button_nao
:active
{
background-color
:
#1f618d
;
/* Еще более темный голубой при нажатии */
}
h1
{
font-size
:
2.5em
;
/* Увеличенный размер шрифта */
font-weight
:
bold
;
/* Жирный шрифт */
text-align
:
center
;
/* Центрирование текста */
color
:
#333
;
/* Темный цвет текста */
margin-bottom
:
20px
;
/* Отступ снизу */
border-bottom
:
2px
solid
#ccc
;
/* Нижняя линия */
padding-bottom
:
10px
;
/* Отступ между текстом и линией */
}
h2
{
font-size
:
2.5em
;
/* Увеличенный размер шрифта */
font-weight
:
bold
;
/* Жирный шрифт */
text-align
:
center
;
/* Центрирование текста */
color
:
#ffffff
;
/* Темный цвет текста */
margin-bottom
:
20px
;
/* Отступ снизу */
border-bottom
:
2px
solid
#ccc
;
/* Нижняя линия */
padding-bottom
:
10px
;
/* Отступ между текстом и линией */
}
h3
{
font-size
:
1.5em
;
/* Увеличенный размер шрифта */
font-weight
:
bold
;
/* Жирный шрифт */
text-align
:
center
;
/* Центрирование текста */
color
:
#000000
;
/* Темный цвет текста */
margin-bottom
:
20px
;
/* Отступ снизу */
border-bottom
:
2px
solid
#ccc
;
/* Нижняя линия */
padding-bottom
:
10px
;
/* Отступ между текстом и линией */
}
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment