1
0
Fork 0
mirror of https://github.com/safing/web synced 2025-04-11 14:39:09 +00:00

Remove obsolete styling files

This commit is contained in:
Luke 2022-02-04 14:11:33 +01:00
parent c507380973
commit c874973f8a
3 changed files with 0 additions and 926 deletions

View file

@ -1,523 +0,0 @@
* {
font-family: "Roboto";
}
body {
overflow-x: hidden;
}
.not-allowed {
cursor: not-allowed;
}
.spn-shadow {
box-shadow: 0 0px 90px 0 rgba(59, 93, 199, 0.1), 0 0px 5px 0 rgba(0, 0, 0, 0);
}
.hover:hover {
box-shadow: 0 0px 90px 0 rgba(59, 93, 199, 0.1), 0 0px 5px 0 rgba(0, 0, 0, 0);
}
.shake-horizontal {
-webkit-animation: shake-horizontal .8s cubic-bezier(.455, .03, .515, .955) both;
animation: shake-horizontal .8s cubic-bezier(.455, .03, .515, .955) both
}
@-webkit-keyframes shake-horizontal {
0%, 100% {
-webkit-transform: translateX(0);
transform: translateX(0)
}
10%, 30%, 50%, 70% {
-webkit-transform: translateX(-10px);
transform: translateX(-10px)
}
20%, 40%, 60% {
-webkit-transform: translateX(10px);
transform: translateX(10px)
}
80% {
-webkit-transform: translateX(8px);
transform: translateX(8px)
}
90% {
-webkit-transform: translateX(-8px);
transform: translateX(-8px)
}
}
@keyframes shake-horizontal {
0%, 100% {
-webkit-transform: translateX(0);
transform: translateX(0)
}
10%, 30%, 50%, 70% {
-webkit-transform: translateX(-10px);
transform: translateX(-10px)
}
20%, 40%, 60% {
-webkit-transform: translateX(10px);
transform: translateX(10px)
}
80% {
-webkit-transform: translateX(8px);
transform: translateX(8px)
}
90% {
-webkit-transform: translateX(-8px);
transform: translateX(-8px)
}
}
.spin {
animation-name: spin;
animation-duration: 21000ms;
animation-iteration-count: infinite;
animation-timing-function: linear;
}
@keyframes spin {
from {
transform: rotate(0deg);
}
to {
transform: rotate(360deg);
}
}
.heart {
// animation: .8s infinite beatHeart;
}
@keyframes beatHeart {
0% {
transform: scale(1);
}
25% {
transform: scale(1.1);
}
40% {
transform: scale(1);
}
60% {
transform: scale(1.1);
}
100% {
transform: scale(1);
}
}
#menu-toggle:checked+#menu {
display: block;
}
.wiggle {
animation: wiggle .6s infinite alternate;
}
@keyframes wiggle {
0% {
transform: rotate(4deg);
}
100% {
transform: rotate(10deg);
}
}
.line {
width:100%;
text-align:center;
border-bottom: 2px solid rgba(0, 0, 0, 0.2);
line-height:0.1em;
margin:10px 0 20px;
}
.line span {
background:#fff;
padding:0 25px;
}
.support p{
color: #7d7d7d;
}
a.link {
--text-opacity: 1;
color: #667eea;
color: rgba(102, 126, 234, var(--text-opacity));
text-decoration: inherit;
background-color: transparent;
transition-property: background-color, border-color, color, fill, stroke, opacity, box-shadow, transform;
&:hover{
opacity: .5;
transition-duration: 150ms;
transition-timing-function: cubic-bezier(.4, 0, .2, 1);
}
}
.opacity-55 {
opacity: 0.55;
}
.hover\:opacity-55:hover {
opacity: 0.55;
}
.card{
max-width: auto;
}
.tablecard{
max-width: auto;
h3{
padding-top: 2.5rem !important;
}
ul, ol{
padding: 1rem;
li{
padding-top: 0.7rem;
color: #898989;
}
}
ul {
list-style-type: circle;
}
ol {
list-style-type: decimal;
}
a{
display: inline-table;
position: none;
padding-top: 1rem;
}
}
.cardshadow{
box-shadow: 0 0px 5px 0 rgba(0, 0, 0, 0), 0 0px 90px 0 rgba(59, 93, 199, 0.1);
}
.blogwrapper{
display: grid;
grid-template-columns: repeat(1, auto);
grid-template-rows: auto;
grid-row-gap: 15px;
grid-auto-flow: row;
margin-left: auto;
margin-right: auto;
max-width: 1350px;
}
@media (min-width: 640px) {
.blogwrapper{
grid-template-columns: repeat(1, auto);
}
#icon{
margin-top: 2rem;
}
}
.nextwrapper{
display: grid;
grid-template-columns: repeat(1, auto);
grid-template-rows: auto;
grid-row-gap: 1rem;
grid-column-gap: 1rem;
grid-auto-flow: row;
margin-left: auto;
margin-right: auto;
max-width: 1350px;
}
@media (min-width: 640px) {
.nextwrapper{
grid-template-columns: repeat(1, auto);
}
}
@media (min-width: 1024px) {
.nextwrapper{
grid-template-columns: repeat(3, minmax(auto, 445px));
.card{
max-width: 445px;
}
}
}
.dropinput {
position: absolute;
opacity: 0;
z-index: -1;
}
.tabs {
border-radius: 8px;
overflow: visible;
}
.tab {
width: 100%;
color: black;
overflow: hidden;
&-label {
display: flex;
justify-content: space-between;
padding: 1em;
background: transparent;
font-weight: bold;
cursor: pointer;
&:hover {
background: transparent;
}
&::after {
content: " ";
width: 1em;
height: 1em;
text-align: center;
transition: all .0s;
transition-timing-function: ease;
transform: rotate(-90deg);
}
}
&-content {
max-height: 0;
padding: 0 1em;
color: black;
background: transparent;
transition: all .3s;
transition-timing-function: ease-in-out;
}
&-close {
display: flex;
justify-content: flex-end;
padding: 1em;
font-size: 0.75em;
background: transparent;
cursor: pointer;
&:hover {
background: transparent;
}
}
}
#icon {
width: 35px;
position: fixed;
}
#icontwo {
width: 35px;
}
input:checked {
+ label #icon {
transform: rotate(180deg);
}
+ label #icontwo {
transform: rotate(180deg);
}
~ .tab-content {
max-height: 100%;
padding: 1em;
}
}
.dot {
position: absolute;
right: 0;
height: 5px;
width: 5px;
background-color: #6188ff;
border-radius: 50%;
display: inline-block;
}
[tooltip] {
position: relative;
}
[tooltip]::before,
[tooltip]::after {
text-transform: none;
font-size: .9em;
line-height: 1;
user-select: none;
pointer-events: none;
position: absolute;
display: none;
opacity: 0;
}
[tooltip]::before {
content: '';
border: 5px solid transparent;
z-index: 1001;
}
[tooltip]::after {
content: attr(tooltip);
font-family: Helvetica, sans-serif;
text-align: center;
min-width: 3em;
max-width: 21em;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
padding: 1ch 2ch;
border-radius: 100px;
box-shadow: 0 1em 2em -.5em rgba(0, 0, 0, 0.35);
background: #333;
color: #fff;
z-index: 1000;
}
[tooltip]:hover::before,
[tooltip]:hover::after {
display: block;
}
[tooltip='']::before,
[tooltip='']::after {
display: none !important;
}
[tooltip]:not([flow])::before,
[tooltip][flow^="up"]::before {
bottom: 100%;
border-bottom-width: 0;
border-top-color: #333;
}
[tooltip]:not([flow])::after,
[tooltip][flow^="up"]::after {
bottom: calc(100% + 5px);
}
[tooltip]:not([flow])::before,
[tooltip]:not([flow])::after,
[tooltip][flow^="up"]::before,
[tooltip][flow^="up"]::after {
left: 50%;
transform: translate(-50%, -.5em);
}
@keyframes tooltips-vert {
to {
opacity: .9;
transform: translate(-50%, 0);
}
}
[tooltip]:not([flow]):hover::before,
[tooltip]:not([flow]):hover::after,
[tooltip][flow^="up"]:hover::before,
[tooltip][flow^="up"]:hover::after {
animation: tooltips-vert 300ms ease-out forwards;
}
.notification {
position: relative;
opacity: 0;
animation: notification 0.5s forwards ease-in;
animation-delay: 0.1s;
}
@keyframes notification {
100% {
opacity: 1;
}
}
// This is a hacky way to solve this problem.
// I could not find away in tailwind to set a max of cols and to allow
// each tag to have their own width.
.tag-grid{
grid-template-columns: repeat(3, minmax(max-content, 1fr))
}
@media (min-width: 640px) {
.tag-grid{
grid-template-columns: repeat(4, minmax(max-content, 1fr))
}
}
@media (min-width: 768px) {
.tag-grid{
grid-template-columns: repeat(7, minmax(max-content, 1fr))
}
}
#blog.content {
padding-bottom: 2em;
}
#portmaster-plug:hover button {
--transform-scale-x: 1.04;
--transform-scale-y: 1.04;
}
/*
Grabs External Links only:
1. make sure it is NOT an internal link like: href="/guides/" by filtering it starts with http
2. exclude all links that contain "safing.io" which is super unlikely to hit external links
3. also exclude "localhost", which basically is 2. for local development
4. exclude social icons on top of content, which is currently grabbed with :not opacity-55, kinda dirty
*/
#page-container content a[href^="http"]:not([href*="safing.io"]):not([href*="localhost"]):not([class*="opacity-55"]):not([class="exclude-external-icon"]):after {
background-image : url("/assets/img/icons/external.svg");
display : inline-block;
height : 10px;
width : 17px;
content : "";
background-repeat : no-repeat;
background-position-y: 0px;
background-position-x: 4px;
background-size : 10px;
}
/*
Grab Internal Setting links to add a cog
1., 2. from other docs pages, the href will include some form of /settings-reference(/)#
*/
#page-container content a[href*="portmaster/settings#"]:before,
#page-container content a[href*="portmaster/settings/#"]:before {
background-image : url("/assets/img/icons/cog.svg");
display : inline-block;
height : 20px;
width : 20px;
content : "";
background-repeat : no-repeat;
background-position-y: 5px;
background-position-x: 1px;
background-size : 17px;
}

View file

@ -1,402 +0,0 @@
#page-container {
&.imprint {
h4 {
padding-top: 2rem;
}
p {
padding: .5rem 0;
}
}
}
#page-container content .progress-update {
h4 {
font-size : 1.125rem;
margin : 0;
padding-left: .75rem;
font-weight : 700;
}
hr {
margin : 0;
border-top-width: 1px;
}
}
#page-container content {
p {
margin-top: 1rem;
color : #545454;
}
strong {
color: #353535;
}
a {
--text-opacity : 1;
color : #667eea;
color : rgba(102, 126, 234, var(--text-opacity));
text-decoration : inherit;
background-color : transparent;
transition-property: background-color, border-color, color, fill, stroke, opacity, box-shadow, transform;
strong {
--text-opacity: 1;
color : #667eea;
color : rgba(102, 126, 234, var(--text-opacity))
}
}
a:hover {
opacity : .5;
transition-duration : 150ms;
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1)
}
h1 {
font-size : 3rem;
font-weight: 600;
color : #000;
}
h2 {
font-size : 1.8rem;
margin-top : 2rem;
font-weight : 500;
color : #000;
border-bottom : 1px solid #d7d7d7;
padding-bottom: 0.5rem;
}
h3 {
font-size : 1.4rem;
margin-top : 2.5rem;
font-weight: 500;
color : #000;
}
h4 {
font-size : 1.2rem;
margin-top : 1.5rem;
font-weight: 500;
color : #000;
}
h5 {
font-size : 1.1rem;
margin-top : 1.5rem;
font-weight: 500;
color : #000;
}
h6 {
font-size : 1rem;
margin-top : 1.5rem;
font-weight: 500;
color : #000;
}
ul {
padding-top : 1.25rem;
padding-left : 1.85rem;
list-style-type: disc;
color : #545454;
li {
padding-left: .25rem;
li ul {
padding-top : 0.05rem;
padding-left : 1.25rem;
list-style-type: disc;
color : #545454;
}
}
}
.table {
width : fit-content;
--transform-translate-x: 0;
--transform-translate-y: 0;
--transform-rotate : 0;
--transform-skew-x : 0;
--transform-skew-y : 0;
--transform-scale-x : 1.1;
--transform-scale-y : 1.1;
transform : translateX(var(--transform-translate-x)) translateY(var(--transform-translate-y)) rotate(var(--transform-rotate)) skewX(var(--transform-skew-x)) skewY(var(--transform-skew-y)) scaleX(var(--transform-scale-x)) scaleY(var(--transform-scale-y));
box-shadow : 0 0px 90px 0 rgba(59, 93, 199, 0.1), 0 0px 5px 0 rgba(0, 0, 0, 0);
max-width : 100%;
height : auto;
border-radius : .375rem;
display : block;
margin-bottom : 4rem;
margin-top : 4rem;
margin-left : auto;
margin-right : auto;
padding-left : 2rem;
padding-right: 2rem;
table {
table-layout: auto;
text-align : left;
margin-left : 1.5rem;
margin-right: 1.5rem;
colgroup>col {
width: 220px;
}
colgroup .highlight {
background-color: #f7f9ff;
}
thead {
margin-top: 1.5rem;
tr {
text-align : center;
border-bottom: 2px solid rgba(0, 0, 0, 0.19);
}
tr>th {
padding-top : 1.4rem;
padding-bottom: 1.4rem;
}
}
tbody {
margin-bottom: 1.5rem;
text-align : center;
tr {
border-bottom: 2px solid rgba(0, 0, 0, 0.06);
}
tr>td {
height : 4.5rem;
font-size: 0.9rem;
>* {
margin-left : auto;
margin-right: auto;
}
img[src*="tick.svg"],
img[src*="cross.svg"],
img[src*="windows.svg"],
img[src*="linux.svg"] {
width: 1.4rem;
}
img[src*="docker.svg"] {
width: 2rem;
}
}
tr:last-child {
border-bottom: 0px;
}
tr td:first-child {
text-align: left;
opacity : 0.65;
}
.link {
position: relative;
a:hover {
opacity: 1 !important;
img {
opacity: 1;
}
}
a {
display : flex;
align-items: center;
height : 100%;
div {
width : fit-content;
display : flex;
margin-left : auto;
margin-right: auto;
>* {
margin: 6px;
}
}
>img {
position : absolute;
right : 15px;
width : 0.75rem;
margin-right: auto;
margin-top : -3px;
opacity : 0.5;
}
}
}
}
}
pre {
padding : 16px;
overflow : auto;
font-size : 10%;
line-height : 1.45;
background-color: #f7f7f7;
border-radius : 3px;
padding-top : 1rem;
display : flex;
margin-top : 1rem;
code {
background-color: transparent;
padding-left : 0;
padding-right : 0;
color : black;
font-size : 0.8rem;
font-weight : 500;
max-width : 5rem;
display : inline;
}
}
hr {
margin-top : 3rem;
margin-bottom : 3rem;
border-top-width: 2px;
}
code {
color : #ba00bf;
font-weight: 500;
font-size : .875rem;
word-break : break-word;
&::after {
content: "`";
}
&::before {
content: "`";
}
}
em {
font-weight: 400;
}
ol {
padding-top : 0.1rem;
list-style-type: decimal;
padding-left : 1rem;
color : #545454;
li {
padding-top: 0.4rem
}
}
blockquote {
padding-left: 1rem;
margin-top : 1.55rem;
color : black;
opacity : 1;
border-left : 4px solid #ddd;
}
.content {
max-width : 750px;
margin : auto;
margin-top: 3rem;
p img {
--transform-translate-x: 0;
--transform-translate-y: 0;
--transform-rotate : 0;
--transform-skew-x : 0;
--transform-skew-y : 0;
--transform-scale-x : 1.1;
--transform-scale-y : 1.1;
transform : translateX(var(--transform-translate-x)) translateY(var(--transform-translate-y)) rotate(var(--transform-rotate)) skewX(var(--transform-skew-x)) skewY(var(--transform-skew-y)) scaleX(var(--transform-scale-x)) scaleY(var(--transform-scale-y));
box-shadow : 0 0px 90px 0 rgba(59, 93, 199, 0.1), 0 0px 5px 0 rgba(0, 0, 0, 0);
margin-top : 5rem;
max-width : 100%;
height : auto;
border-radius : .375rem;
display : block;
margin-bottom : 4rem;
margin-top : 5rem;
}
.podcast h2 {
padding-top : 1rem;
font-weight : 500;
font-size : 1rem;
padding-bottom: 0.5rem;
}
audio {
padding-bottom: 1.5rem;
}
}
}
.notification-podcast {
font-size : .85rem;
background-color: #5c85ff;
width : fit-content;
width : -moz-fit-content;
overflow-wrap : break-word;
padding-left : 1.25rem;
padding : 1.25rem;
margin-bottom : 1.25rem;
margin-top : 1.25rem;
display : flex;
border-radius : .375rem;
width : 100%;
p {
color : #fff !important;
margin-top: 0 !important;
}
img {
width : 1.5rem;
margin-right: 1.25rem;
height : 1.5rem;
align-self : center;
max-width : 100%;
display : block;
border-style: solid;
}
a {
color : white !important;
padding-left : .25rem;
padding-right : .25rem;
text-decoration: underline !important;
}
a:hover {
opacity : .5;
transition-duration : 150ms;
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}
}
}

File diff suppressed because one or more lines are too long