Skip to content

Commit

Permalink
remove
Browse files Browse the repository at this point in the history
  • Loading branch information
warpedwood committed Nov 18, 2024
1 parent 7b12f94 commit 59c56ce
Show file tree
Hide file tree
Showing 29 changed files with 3,805 additions and 6,122 deletions.
14 changes: 2 additions & 12 deletions _sass/_archive.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
margin-bottom: 2em;

@include breakpoint($medium) {
padding-right: $right-sidebar-width-narrow;
@include span(12 of 12);
}

Expand Down Expand Up @@ -80,7 +81,7 @@
}

.archive__item-title {
text-decoration: underline;
text-decoration: none;
}
}

Expand All @@ -90,17 +91,6 @@
========================================================================== */

.list__item {
@include breakpoint($medium) {
padding-right: $right-sidebar-width-narrow;
}

@include breakpoint($large) {
padding-right: $right-sidebar-width;
}

@include breakpoint($x-large) {
padding-right: $right-sidebar-width-wide;
}

.page__meta {
margin: 0 0 4px;
Expand Down
2 changes: 1 addition & 1 deletion _sass/_base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ html {

body {
margin: 0;
padding: $masthead-height 0 0;
padding: 0;
padding-bottom: 9em;
color: $text-color;
font-family: $global-font-family;
Expand Down
4 changes: 2 additions & 2 deletions _sass/_footer.scss
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@
@include clearfix;
margin-left: auto;
margin-right: auto;
margin-top: 1em;
margin-top: 2em;
max-width: 100%;
padding: 0 1em 1em;
padding: 0 1em 2em;

@include breakpoint($x-large) {
max-width: $x-large;
Expand Down
7 changes: 1 addition & 6 deletions _sass/_masthead.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,8 @@
========================================================================== */

.masthead {
position: fixed;
background: white;
position: relative;
border-bottom: 1px solid $border-color;
height: $masthead-height;
top: 0;
width: 100%;

-webkit-animation: intro 0.3s both;
animation: intro 0.3s both;
-webkit-animation-delay: 0.15s;
Expand Down
5 changes: 1 addition & 4 deletions _sass/_navigation.scss
Original file line number Diff line number Diff line change
Expand Up @@ -191,15 +191,14 @@

button {
position: absolute;
height: 2.5rem;
height: 100%;
right: 0;
padding: 0 0.5rem;
border: 0;
outline: none;
background-color: $primary-color;
color: #fff;
cursor: pointer;
z-index: 100;
}

.visible-links {
Expand All @@ -211,7 +210,6 @@

&:first-child {
font-weight: bold;
text-wrap: wrap;

a {
margin-left: 0;
Expand Down Expand Up @@ -405,7 +403,6 @@
font-weight: bold;
line-height: 1.5;
border-bottom: 1px solid $border-color;
text-decoration-line: none !important;

&:hover {
color: #000;
Expand Down
27 changes: 2 additions & 25 deletions _sass/_sidebar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,6 @@
@include clearfix();
margin-bottom: 1em;

@media screen and (min-width: $sidebar-screen-min-width) {
height: 100vh;
overflow-y: auto; // Add scrollbar if the sidebar is too long
position: fixed;
padding-top: $masthead-height;
}

@include breakpoint($large) {
@include span(2 of 12);
opacity: 1;
Expand All @@ -31,8 +24,8 @@
}
}


@include breakpoint($x-large) {
max-width: $sidebar-link-max-width;
padding-right: 0;
}

Expand Down Expand Up @@ -79,7 +72,7 @@
.author__avatar {
display: table-cell;
vertical-align: top;
width: 175px;
width: 36px;
// set width only, for non-square avatars
// height: 36px;

Expand Down Expand Up @@ -128,22 +121,6 @@
font-size: $type-size-5;
}

.sidebar .author__desktop {
display: none;
@media screen and (min-width: 1024px) {
display: block;
}
}

.author__pronouns {
margin: 0;

@include breakpoint($large) {
margin-top: 10px;
margin-bottom: 10px;
}
}

.author__bio {
margin: 0;

Expand Down
7 changes: 3 additions & 4 deletions _sass/_syntax.scss
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ div.highlighter-rouge, figure.highlight {
border-radius: $border-radius;
background-color: $code-background-color;
box-shadow: $box-shadow;
font-size: $type-size-4;

&:before {
position: absolute;
Expand All @@ -19,7 +18,7 @@ div.highlighter-rouge, figure.highlight {
padding: 0.5em;
background-color: $lighter-gray;
content: "\f121";
font-family: "Font Awesome 6 Free" !important;
font-family: "fontawesome" !important;
font-size: $type-size-6;
line-height: 1;
text-transform: none;
Expand All @@ -29,7 +28,7 @@ div.highlighter-rouge, figure.highlight {
.highlight {
margin: 0;
font-family: $monospace;
font-size: $type-size-6;
font-size: $type-size-7;
line-height: 1.8;
}
}
Expand Down Expand Up @@ -121,4 +120,4 @@ div.highlighter-rouge, figure.highlight {
.highlight .vc { color: #22b3eb } /* Name.Variable.Class */
.highlight .vg { color: #22b3eb } /* Name.Variable.Global */
.highlight .vi { color: #22b3eb } /* Name.Variable.Instance */
.highlight .il { color: #2aa198 } /* Literal.Number.Integer.Long */
.highlight .il { color: #2aa198 } /* Literal.Number.Integer.Long */
46 changes: 21 additions & 25 deletions _sass/_utilities.scss
Original file line number Diff line number Diff line change
Expand Up @@ -117,14 +117,6 @@ body:hover .visually-hidden button {
@include container();
}

/* Source: http://snipplr.com/view/10979/css-cross-browser-word-wrap */
.wordwrap {
white-space: pre-wrap; /* CSS3 */
white-space: -moz-pre-wrap; /* Firefox */
white-space: -pre-wrap; /* Opera <7 */
white-space: -o-pre-wrap; /* Opera 7 */
word-wrap: break-word; /* IE */
}

/*
Images
Expand Down Expand Up @@ -187,12 +179,6 @@ body:hover .visually-hidden button {
vertical-align: middle;
}

/* Adjust this setting to control the space between an icon and text in the sidebar */
.icon-pad-right {
padding-right: 0.5em;
margin-right: 0.5em;
}

/* social icons*/

.social-icons {
Expand Down Expand Up @@ -242,11 +228,6 @@ body:hover .visually-hidden button {
color: $instagram-color;
}

.fa-kaggle,
.fa-kaggle-square {
color: $kaggle-color;
}

.fa-lastfm,
.fa-lastfm-square {
color: $lastfm-color;
Expand All @@ -257,8 +238,13 @@ body:hover .visually-hidden button {
color: $linkedin-color;
}

.fa-mastodon,
.fa-mastodon-square {
.fa-pinterest,
.fa-pinterest-p,
.fa-pinterest-square {
color: $pinterest-color;
}

.fa-mastodon {
color: $mastodon-color;
}

Expand All @@ -267,10 +253,9 @@ body:hover .visually-hidden button {
color: $orcid-color;
}

.fa-pinterest,
.fa-pinterest-p,
.fa-pinterest-square {
color: $pinterest-color;
.ai-zotero,
.ai-zotero-square {
color: $zotero-color;
}

.fa-rss,
Expand Down Expand Up @@ -502,3 +487,14 @@ a.reversefootnote {
color: $danger-color;
font-weight: bold;
}
/*
Visibility
========================================================================== */

.zoom{
/* default button */

&:hover {
transform: scale(1.25);
}
}
20 changes: 6 additions & 14 deletions _sass/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -39,17 +39,9 @@ $type-size-3 : 1.563em; // ~25.008px
$type-size-4 : 1.25em; // ~20px
$type-size-5 : 1em; // ~16px
$type-size-6 : 0.75em; // ~12px
$type-size-7 : 0.6875em; // ~11px
$type-size-7 : 0.875em; // ~11px
$type-size-8 : 0.625em; // ~10px

/* masthead properties */
$masthead-height : 70px;

/* Sidebar properties */
$sidebar-screen-min-width : 1024px;
$sidebar-link-max-width : 250px;



/*
Colors
Expand All @@ -72,7 +64,7 @@ $primary-color : #7a8288;
$success-color : #62c462;
$warning-color : #f89406;
$danger-color : #ee5f5b;
$info-color : #52adc8;
$info-color : #ab5865;

/* brands */
$behance-color : #1769FF;
Expand All @@ -84,11 +76,11 @@ $foursquare-color : #0072b1;
$github-color : #171516;
$google-plus-color : #dd4b39;
$instagram-color : #517fa4;
$kaggle-color : #20c0ff;
$lastfm-color : #d51007;
$linkedin-color : #007bb6;
$mastodon-color : #6364ff;
$orcid-color : #a6ce39;
$zotero-color : #CC2936;
$linkedin-color : #007bb6;
$pinterest-color : #cb2027;
$rss-color : #fa9b39;
$soundcloud-color : #ff3300;
Expand Down Expand Up @@ -133,8 +125,8 @@ $x-large : 1280px !default;
========================================================================== */

$right-sidebar-width-narrow : 200px !default;
$right-sidebar-width : 300px !default;
$right-sidebar-width-wide : 400px !default;
$right-sidebar-width : 300px !default;
$right-sidebar-width-wide : 400px !default;

$susy: (
columns: 12,
Expand Down
Loading

0 comments on commit 59c56ce

Please sign in to comment.