.mvn
config
docker
docs
css
img
js
scss
_bootstrap-overrides.scss
_contact.scss
_footer.scss
_global.scss
_masthead.scss
_mixins.scss
_navbar.scss
_portfolio.scss
_variables.scss
freelancer.scss
vendor
LICENSE
README.md
gulpfile.js
index.html
package-lock.json
package.json
platformQuickStarts
scripts
webgoat-container
webgoat-images
webgoat-integration-tests
webgoat-lessons
webgoat-server
webwolf
.gitignore
.travis.yml
COPYRIGHT.txt
CREATE_RELEASE.MD
LICENSE.txt
README.MD
RELEASE_NOTES.md
buildspec.yml
docker-compose-local.yml
docker-compose-postgres.yml
docker-compose.yml
goat-with-reverseproxy.yaml
mvn-debug
mvnw
mvnw.cmd
pmd-ruleset.xml
pom.xml
project-suppression.xml
64 lines
1.3 KiB
SCSS
64 lines
1.3 KiB
SCSS
// Styling for the portfolio section
|
|
.portfolio {
|
|
margin-bottom: -15px;
|
|
.portfolio-item {
|
|
position: relative;
|
|
display: block;
|
|
max-width: 25rem;
|
|
margin-bottom: 15px;
|
|
.portfolio-item-caption {
|
|
-webkit-transition: all ease 0.5s;
|
|
-moz-transition: all ease 0.5s;
|
|
transition: all ease 0.5s;
|
|
opacity: 0;
|
|
background-color: fade-out($primary, .1);
|
|
&:hover {
|
|
opacity: 1;
|
|
}
|
|
.portfolio-item-caption-content {
|
|
font-size: 1.5rem;
|
|
}
|
|
}
|
|
}
|
|
@media (min-width: 576px) {
|
|
margin-bottom: -30px;
|
|
.portfolio-item {
|
|
margin-bottom: 30px;
|
|
}
|
|
}
|
|
}
|
|
|
|
.portfolio-modal {
|
|
.portfolio-modal-dialog {
|
|
padding: 3rem 1rem;
|
|
min-height: calc(100vh - 2rem);
|
|
margin: 1rem calc(1rem - 8px);
|
|
position: relative;
|
|
z-index: 2;
|
|
-moz-box-shadow: 0 0 3rem 1rem fade-out(black, .5);
|
|
-webkit-box-shadow: 0 0 3rem 1rem fade-out(black, .5);
|
|
box-shadow: 0 0 3rem 1rem fade-out(black, .5);
|
|
.close-button {
|
|
position: absolute;
|
|
top: 2rem;
|
|
right: 2rem;
|
|
i {
|
|
line-height: 38px;
|
|
}
|
|
}
|
|
h2 {
|
|
font-size: 2rem;
|
|
}
|
|
}
|
|
@media(min-width: 768px) {
|
|
.portfolio-modal-dialog {
|
|
min-height: 100vh;
|
|
padding: 5rem;
|
|
margin: 3rem calc(3rem - 8px);
|
|
h2 {
|
|
font-size: 3rem;
|
|
}
|
|
}
|
|
}
|
|
}
|