web-timofeev
227 строк · 4.2 Кб
1/*
2Theme Name: Theme-Portfolio
3Theme URI: Theme-Portfolio
4Author: A. Timofeev
5Author URI: https://vk.com/al.d.timofeev
6Description: Тема портфолио WordPress 6.4.
7Tags: blog, portfolio
8*/
9
10
11header {12margin-top: 80px;13margin-bottom: 50px;14}
15.scroll-list {16position: fixed;17}18h1,
19h2,
20p,
21a {22font-family: 'Roboto', sans-serif;23}
24
25h1 span {26font-size: 18px;27font-style: italic;28}
29address {30margin-top: 30px;31}
32.card-img-top {33transition: transform ease-in-out 0.3s;34z-index: 1;35}36.card-img-top:hover {37transform: scale(1.4);38z-index: 9;39box-shadow: 10px 10px 22px #636363,40-10px -10px 22px #ffffff;41}
42.project-block, .skills-block {43margin-top: 50px;44}
45
46.main-img {47margin-bottom: 30px;48width: 250px;49clip-path: polygon(100% 44%, 91% 40%, 89% 33%, 91% 22%, 92% 12%, 92% 0%, 44% 0%, 43% 7%, 42% 15%, 42% 24%, 43% 33%, 47% 40%, 48% 47%, 42% 50%, 36% 56%, 31% 65%, 27% 74%, 25% 82%, 22% 91%, 19% 100%, 38% 100%, 59% 100%, 80% 91%, 93% 73%);50transition: transform ease-in-out 0.3s;51
52
53/* clip-path: polygon(67% 0%, 84% 0%, 91% 0%, 93% 4%, 92% 9%, 92% 15%, 91% 21%, 90% 30%, 89% 35%, 90% 40%, 94% 42%, 98% 44%, 99% 49%, 100% 57%, 100% 86%, 99% 92%, 97% 95%, 94% 97%, 92% 100%, 64% 100%, 55% 100%, 49% 98%, 47% 95%, 43% 97%, 41% 100%, 30% 100%, 19% 100%, 15% 98%, 14% 94%, 17% 89%, 20% 83%, 26% 74%, 31% 63%, 37% 52%, 44% 46%, 48% 41%, 47% 36%, 44% 32%, 40% 26%, 38% 18%, 37% 13%, 38% 7%, 41% 3%, 44% 1%, 52% 0%, 59% 0); */54transition: all ease-in-out 1s;55}
56.main-img:hover {57clip-path: polygon(100% 44%, 100% 39%, 100% 32%, 100% 23%, 100% 13%, 100% 0, 44% 0%, 0 0, 0 14%, 0 25%, 0 31%, 0 37%, 0 43%, 0 48%, 0 56%, 0 62%, 0 71%, 0 81%, 0 93%, 0 100%, 38% 100%, 59% 100%, 100% 100%, 100% 74%); animation-duration: 3s;58border-radius: 20px;59transition: all ease-in-out 0.3s;60}
61.main-img-outsie {62margin-top: 90px;63}
64
65
66.custom-shape-divider-top-1700231678 {67position: fixed;68top: 0;69left: 0;70width: 100%;71overflow: hidden;72line-height: 0;73z-index: 9;74}
75
76.custom-shape-divider-top-1700231678 svg {77position: relative;78display: block;79width: calc(100% + 1.3px);80height: 100px;81}
82
83.custom-shape-divider-top-1700231678 .shape-fill {84fill: #949494;85}
86
87
88
89
90.custom-shape-divider-bottom-1700231832 {91/* position: absolute;92bottom: 0; */
93left: 0;94width: 100%;95overflow: hidden;96line-height: 0;97transform: rotate(180deg);98}
99
100.custom-shape-divider-bottom-1700231832 svg {101position: relative;102display: block;103width: calc(100% + 1.3px);104height: 250px;105}
106
107.custom-shape-divider-bottom-1700231832 .shape-fill {108fill: #949494;109}
110
111
112
113
114.bi {115margin-top: -2px;116margin-right: 5px;117}
118
119
120.skills-list {121list-style: none;122}
123
124.opasity0 {125opacity: 0;126}
127
128/* h2 {
129background-color: #949494;
130color: #ffffff;
131border-radius: 5px;
132}
133h2 a {
134color: #ffffff;
135} */
136
137h2 span {138color: #cbcbcb;139}140
141
142.breadcrumbs-for-inner-pages {143margin-top: 120px;144display: inline-block;145margin-bottom: 40px;146}
147
148.breadcrumbs-for-inner-pages svg {149width: 45px;150padding-right: 0;151margin-right: 0;152
153}
154
155.block-inf {156border: 1px solid;157border-radius: 10px;158padding: 20px 20px 0 20px;159}
160
161.skills-block {162padding-bottom: 20px;163}
164
165
166.block-inf p {167overflow: hidden;168text-wrap: nowrap;169white-space: nowrap;170}
171
172
173
174.button-up {175opacity: .6;176height: 70px;177width: 70px;178background: gray;179border-radius: 50%;180position: fixed;181right: 70px;182bottom: 30px;183cursor: pointer;184transition: all 0.6s ease;185z-index: 2;186}
187
188.button-up:hover {189height: 90px;190width: 90px;191transition: all 0.6s ease;192right: 62.5px;193bottom: 22.5px;194opacity: .4;195}196
197
198
199.menu-top {200background-color: #949494;201height: 30px;202width: 100%;203position: fixed;204z-index: 2;205}
206
207.menu-top + div > div:first-child {208top: 30px;209}
210
211.menu-top li {212list-style: none;213color: white;214display: inline;215margin-right: 15px;216cursor: pointer;217}
218.menu-top li:hover {219text-decoration: underline;220}
221
222
223
224
225.wrapper-for-img-and-caption {226padding-top: 30px;227}
228
229
230