This repository has been archived on 2023-08-03. You can view files and clone it, but cannot push or open issues or pull requests.
sito-web/assets/css/custom.css

465 lines
7.3 KiB
CSS
Raw Normal View History

body {
2022-12-19 22:37:47 +01:00
background: #eee;
}
.projects-list {
2022-12-19 22:37:47 +01:00
text-align: left;
}
.list ul.projects-list>li {
2022-12-19 22:37:47 +01:00
display: inline;
}
.projects-list>li>img {
2022-12-19 22:37:47 +01:00
float: left;
}
.list ul.tags,
.page ul.tags {
2022-12-19 22:37:47 +01:00
text-align: right;
}
.list ul.tags>li {
2022-12-19 22:37:47 +01:00
display: inline;
color: #ddd;
font-size: 80%;
padding: 5px;
background: rgb(16, 104, 192);
border-radius: 6px;
}
.list ul.projects-list li .title {
2022-12-19 22:37:47 +01:00
font-size: 1.5em;
line-height: 1.3em;
margin-bottom: 0.5em;
}
.list ul.projects-list li .date {
2022-12-19 22:37:47 +01:00
width: auto;
margin: 0;
position: absolute;
bottom: 15px;
right: -5px;
color: #fff;
padding: 0em .5em;
background: rgb(16, 104, 192);
font-size: 70%;
}
.list ul.projects-list li .new {
2022-12-19 22:37:47 +01:00
width: auto;
text-align: center;
margin: 0;
position: absolute;
top: -10px;
left: -10px;
color: #fff;
padding: 0em .5em;
background: rgb(207, 9, 105);
}
.list ul.projects-list li .wip {
2022-12-19 22:37:47 +01:00
width: auto;
text-align: center;
margin: 0;
position: absolute;
top: -10px;
left: -10px;
color: #fff;
padding: 0em .5em;
background: rgb(210, 119, 50);
}
.list ul.projects-list li .completed {
2022-12-19 22:37:47 +01:00
width: auto;
text-align: center;
margin: 0;
position: absolute;
top: -10px;
left: -10px;
color: #fff;
padding: 0em .5em;
background: rgb(16, 134, 28);
}
.project-image {
2022-12-19 22:37:47 +01:00
display: inline;
float: left;
position: relative;
margin-right: 1em;
margin-bottom: 1em;
}
.page ul.tags>li {
2022-12-19 22:37:47 +01:00
display: inline;
color: #999;
}
/** NEWS **/
.news-image {
2022-12-19 22:37:47 +01:00
display: inline;
float: left;
position: relative;
margin-right: 1em;
margin-bottom: 1em;
width: 40%;
}
.list ul.news-list li .date {
2022-12-19 22:37:47 +01:00
width: auto;
}
.list ul.news-list li .reading-time {
2022-12-19 22:37:47 +01:00
margin-left: 1em;
}
.list ul.news-list li a.title {
2022-12-19 22:37:47 +01:00
font-size: 1.3em;
}
.list ul.news-list .tag {
2022-12-19 22:37:47 +01:00
display: inline-block;
padding: 0.3rem 0.6rem;
background-color: #e0e0e0;
border-radius: 0.6rem;
line-height: 1.4em;
font-size: 0.8em;
margin-bottom: 2px;
}
.list ul.news-list .tag a {
2022-12-19 22:37:47 +01:00
color: #212121;
}
.list ul.news-list:not(.pagination) li {
2022-12-19 22:37:47 +01:00
display: block;
}
hr.light {
2022-12-19 22:37:47 +01:00
border: 1px solid #eee;
}
blockquote {
2022-12-19 22:37:47 +01:00
padding: 10px;
border-left: 4px solid #e0e0e0;
line-height: 3.2rem;
}
blockquote p {
2022-12-19 22:37:47 +01:00
font-size: 1.2em;
margin: 2rem 0 2rem 1em;
}
.donations>div {
2022-12-19 22:37:47 +01:00
position: relative;
width: 49%;
padding: 4%;
float: left;
min-height: 350px;
}
.donations>div>a.btn {
2022-12-19 22:37:47 +01:00
position: absolute;
bottom: 10px;
right: 10px;
}
.donations>div:first-of-type {
2022-12-19 22:37:47 +01:00
margin-right: 2%;
}
.gradient-border {
--border-width: 3px;
position: relative;
justify-content: center;
background: #fff;
border-radius: var(--border-width);
}
.gradient-border::after {
position: absolute;
content: "";
top: calc(-1 * var(--border-width));
left: calc(-1 * var(--border-width));
z-index: -1;
width: calc(100% + var(--border-width) * 2);
height: calc(100% + var(--border-width) * 2);
background: linear-gradient(60deg, #5f86f2, #a65ff2, #f25fd0, #f25f61, #f2cb5f, #abf25f, #5ff281, #5ff2f0);
background-size: 300% 300%;
background-position: 0 50%;
border-radius: calc(2 * var(--border-width));
animation: moveGradient 4s alternate infinite;
}
@keyframes moveGradient {
50% {
background-position: 100% 50%;
}
}
.stripe-btn {
2022-12-19 22:37:47 +01:00
background: #635bff;
color: #fff;
padding: 0.1em 0.4em;
border-radius: 3px;
font-size: 0.9em;
}
.social-share {
position: relative;
top: -0.5em;
2022-12-19 22:37:47 +01:00
}
2022-12-19 22:37:47 +01:00
.social-share ul {
margin: 0;
2022-12-19 22:37:47 +01:00
}
2022-12-19 22:37:47 +01:00
.social-share ul li p {
display: none;
2022-12-19 22:37:47 +01:00
}
.social-share .share-icons li {
padding: 0 !important;
padding-bottom: 10px !important;
2022-12-19 22:37:47 +01:00
}
2022-12-19 22:37:47 +01:00
.social-share .share-btn {
padding: 0.25em;
width: 3em;
2022-12-19 22:37:47 +01:00
}
.social-share-nav .share-btn h3 {
color: #ffffff;
2022-12-19 22:37:47 +01:00
}
ul.share-icons {
cursor: default;
list-style: none;
padding-left: 0;
margin-top: 1em;
2022-12-19 22:37:47 +01:00
}
ul.share-icons li {
display: inline-block;
padding: 0 1em 0 0;
2022-12-19 22:37:47 +01:00
}
ul.share-icons li:last-child {
padding-right: 0;
2022-12-19 22:37:47 +01:00
}
ul.share-icons li>* {
text-decoration: none;
border: 0;
2022-12-19 22:37:47 +01:00
}
ul.share-icons li>*:before {
-moz-osx-font-smoothing: grayscale;
-webkit-font-smoothing: antialiased;
font-family: FontAwesome;
font-style: normal;
font-weight: normal;
text-transform: none !important;
2022-12-19 22:37:47 +01:00
}
ul.share-icons li>* .label {
display: none;
2022-12-19 22:37:47 +01:00
}
2022-12-19 22:37:47 +01:00
.share-btn {
display: inline-block;
color: #ffffff;
border: none;
border-radius: 4px;
box-shadow: 0 2px 0 0 rgba(0, 0, 0, 0.2);
outline: none;
text-align: center;
text-decoration: none;
}
2022-12-19 22:37:47 +01:00
.share-btn:hover {
color: #ffffff !important;
2022-12-19 22:37:47 +01:00
}
.share-btn:active {
position: relative;
top: 2px;
box-shadow: none;
color: #e2e2e2;
outline: none;
2022-12-19 22:37:47 +01:00
}
2022-12-19 22:37:47 +01:00
.share-btn .widget-social__link-icon {
margin: 0;
}
.share-btn.mastodon {
background: #3088d4;
}
.share-btn.twitter {
background: #55acee;
}
.share-btn.google-plus {
background: #dd4b39;
}
.share-btn.facebook {
background: #3B5998;
}
.share-btn.linkedin {
background: #4875B4;
}
.share-btn.stumbleupon {
background: #EB4823;
}
.share-btn.pinterest {
background: #BD081C;
}
.share-btn.reddit {
background: #ff5700;
}
.share-btn.email {
background: #444444;
}
.share-btn.whatsapp {
background: #25d366;
}
.share-btn.mastodon:hover {
background: #3583c7;
}
.share-btn.twitter:hover {
background: #4c9ad6;
}
.share-btn.google-plus:hover {
background: #c64333;
}
.share-btn.facebook:hover {
background: #2f4779;
}
.share-btn.linkedin:hover {
background: #4069a2;
}
.share-btn.stumbleupon:hover {
background: #d3401f;
}
.share-btn.pinterest:hover {
background: #AD0000;
}
.share-btn.reddit:hover {
background: #e54e00;
}
.share-btn.email:hover {
background: #363636;
}
p {
2022-12-19 22:37:47 +01:00
margin: 0.5em 0;
line-height: 1.4em;
}
@media (max-width: 768px) {
.donations>div {
2022-12-19 22:37:47 +01:00
width: 100%;
margin: 2%;
min-height: auto;
}
2023-05-21 22:37:13 +02:00
.content header h1{
font-size: 3rem;
}
h2{
font-size: 2rem;
}
2022-12-19 22:37:47 +01:00
}
.quick-div {
2022-12-19 22:37:47 +01:00
color: #fff;
display: inline-block;
line-height: 1em;
border: none;
}
.quick-div>.url {
2022-12-19 22:37:47 +01:00
text-decoration: none;
color: #fff;
line-height: 1.8em;
padding: 8px;
transition: all ease 0.5s;
background: #23b571;
margin-left: -4px;
}
.quick-div>.url:hover {
2022-12-19 22:37:47 +01:00
background: #076137;
color: #fff;
margin-left: 0;
}
.quick-div>.icon {
2022-12-19 22:37:47 +01:00
padding: 8px;
background: #fff;
border: 1px solid #ddd;
2022-12-24 19:15:22 +01:00
}
.big-button {
2022-12-24 19:15:22 +01:00
margin: 6px 0;
display: inline-block;
padding: 0.5em 1em;
text-decoration: none;
background: #f7f7f7;
border-left: solid 6px #0d71ae;
color: #0d71ae;
font-weight: bold;
box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.29);
}
.big-button:active {
box-shadow: inset 0 0 2px rgba(128, 128, 128, 0.1);
transform: translateY(2px);
}
.big-button.green {
border-color: #007306;
color: #007306;
}
hr {
2022-12-24 19:15:22 +01:00
border: 2px dashed #bbb;
margin: 30px 0;
2023-01-07 17:32:02 +01:00
}
.quick-summary {
2023-01-07 17:32:02 +01:00
background: #ddd;
border-left: 8px solid #ccc;
padding: 1em;
color: #555;
}
.quick-summary h4 {
2023-01-07 17:32:02 +01:00
margin: 0 0 0.5em 0;
color: #444;
}
.text-center {
text-align: center;
2022-12-19 22:37:47 +01:00
}