Files
hugo-profile/static/css/index.css
T
2022-02-18 23:30:27 +05:30

192 lines
3.8 KiB
CSS

/* hero */
#hero {
min-height: 100vh;
line-height: 2rem;
max-width: 100%;
}
#hero .hero-bottom-svg {
opacity: 0.5;
position: absolute;
bottom: -50px;
left: -130px;
}
#hero .subtitle {
font-size: clamp(14px,5vw,16px);
opacity: 0.6;
}
#hero h2 {
font-size: clamp(40px, 8vw, 80px);
color: var(--primary-color) !important;
}
#hero h3 {
font-size: clamp(40px, 8vw, 80px);
/* color: var(--primary-color) !important; */
opacity: 0.5;
}
#hero p {
margin: 20px 0px 0px;
max-width: 540px;
opacity: 0.8;
}
#hero a.btn {
margin-top: 50px;
padding: 1rem 1.75rem;
border: 1px solid var(--primary-color);
border-radius: .75rem;
transition: none;
}
#hero a.btn:focus {
box-shadow: none;
}
#hero a.btn:hover {
background-color: var(--secondary-color) !important;
color: var(--text-color) !important;
opacity: 0.9;
}
#hero .hero-content > a {
display: inline-block;
text-decoration: none;
color: var(--primary-color) !important;
}
#hero .hero-content > a::after {
content: "";
display: block;
width: 0px;
height: 2px;
bottom: 0.37em;
background-color: var(--primary-color);
transition: all 0.25s cubic-bezier(0.645,0.045,0.355,1);
opacity: 0.5;
}
#hero .hero-content > a:hover::after, #hero .hero-content > a:focus::after, #hero .hero-content > a:active::after {
width: 100%;
}
/* about me */
#about h3 {
color: var(--text-secondary-color) !important;
}
#about .image img {
max-width: 300px !important;
box-shadow: 0px 8px 56px rgba(15, 80, 100, 0.16);
transition: box-shadow 0.3s;
}
#about .image img:hover {
box-shadow: 0 0 11px rgb(15 80 100 / 20%);
}
#about ul {
display: grid;
grid-template-columns: repeat(2, minmax(140px, 200px));
gap: 0px 10px;
padding: 0px;
margin: 20px 0px 0px;
overflow: hidden;
list-style: none;
}
#about ul li {
position: relative;
margin-bottom: 10px;
padding-left: 20px;
}
#about ul li::before {
content: "▹";
color: var(--primary-color);
position: absolute;
left: 0px;
}
#about .content {
opacity: 0.95 !important;
line-height: 1.7rem !important;
}
#about a {
display: inline-block;
text-decoration: none;
color: var(--primary-color) !important;
}
#about a::after {
content: "";
display: block;
width: 0px;
height: 2px;
bottom: 0.37em;
background-color: var(--primary-color);
transition: all 0.25s cubic-bezier(0.645,0.045,0.355,1);
opacity: 0.5;
}
#about a:hover::after, #about a:focus::after, #about a:active::after {
width: 100%;
}
/* achievements */
#achievements a {
text-decoration: none;
}
#achievements h3 {
color: var(--text-secondary-color) !important;
}
#achievements .card {
background-color: var(--secondary-color) !important;
border-radius: .75rem;
box-shadow: 0 0 36px rgba(0,0,0,0.1);
cursor: alias;
/* transform: translate3d(0, 0, 0); */
transition: box-shadow .2s linear,opacity .2s linear;
}
#achievements .card:hover {
border: 1px solid var(--text-color);
transition: .4s;
}
#achievements .card-text {
background-color: var(--secondary-color) !important;
color: var(--text-secondary-color) !important;
}
/* contact */
#contact h3 {
color: var(--text-secondary-color) !important;
}
#contact .btn {
transition: none;
transition: opacity 0.3s;
border-radius: .5rem !important;
border-color: var(--primary-color) !important;
background-color: var(--secondary-color) !important;
}
#contact .btn:hover {
opacity: .7;
}
#contact .btn:focus {
box-shadow: none !important;
}