Skip to content

Commit d27ccb0

Browse files
committed
academicpages#137 consolidate into _themes.scss
1 parent e9b3774 commit d27ccb0

File tree

2 files changed

+113
-134
lines changed

2 files changed

+113
-134
lines changed

_sass/_themes.scss

Lines changed: 113 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,16 @@ $notice-color : #7a8288;
1616
$success-color : #62c462;
1717
$warning-color : #f89406;
1818

19+
/* Other basic settings for the template */
20+
$border-radius : 4px;
21+
$box-shadow : 0 1px 1px rgba(0, 0, 0, 0.125);
22+
$global-transition : all 0.2s ease-in-out;
23+
$navicon-width : 28px;
24+
$navicon-height : 4px;
25+
$masthead-height : 70px;
26+
$sidebar-link-max-width : 250px;
27+
$sidebar-screen-min-width : 1024px;
28+
1929
/* Default light theme for the site */
2030
:root {
2131
--global-base-color : #{$gray};
@@ -29,4 +39,106 @@ $warning-color : #f89406;
2939
--global-masthead-link-color : #{$gray};
3040
--global-masthead-link-color-hover : mix(#000, #{$gray}, 25%);
3141
--global-text-color : #{$dark-gray};
32-
}
42+
}
43+
44+
/* ==========================================================================
45+
TYPOGRAPHY
46+
========================================================================== */
47+
48+
/* Used to set the size for <em> */
49+
$doc-font-size : 16;
50+
51+
/* Paragraph indention */
52+
$paragraph-indent : false; // true, false (default)
53+
$indent-var : 1.3em;
54+
55+
/* System typefaces */
56+
$serif : Georgia, Times, serif;
57+
$sans-serif : -apple-system, ".SFNSText-Regular", "San Francisco", "Roboto", "Segoe UI", "Helvetica Neue", "Lucida Grande", Arial, sans-serif;
58+
$monospace : Monaco, Consolas, "Lucida Console", monospace;
59+
60+
/* Sans serif typefaces */
61+
$sans-serif-narrow : $sans-serif;
62+
$helvetica : Helvetica, "Helvetica Neue", Arial, sans-serif;
63+
64+
/* Serif typefaces */
65+
$georgia : Georgia, serif;
66+
$times : Times, serif;
67+
$bodoni : "Bodoni MT", serif;
68+
$calisto : "Calisto MT", serif;
69+
$garamond : Garamond, serif;
70+
71+
/* Type scale */
72+
$type-size-1 : 2.441em; // ~39.056px
73+
$type-size-2 : 1.953em; // ~31.248px
74+
$type-size-3 : 1.563em; // ~25.008px
75+
$type-size-4 : 1.25em; // ~20px
76+
$type-size-5 : 1em; // ~16px
77+
$type-size-6 : 0.75em; // ~12px
78+
$type-size-7 : 0.6875em; // ~11px
79+
$type-size-8 : 0.625em; // ~10px
80+
81+
$global-font-family : $sans-serif;
82+
$header-font-family : $sans-serif;
83+
$caption-font-family : $serif;
84+
85+
/* ==========================================================================
86+
Breakpoints
87+
========================================================================== */
88+
89+
@include breakpoint-set("to ems", true);
90+
91+
$small : 600px !default;
92+
$medium : 768px !default;
93+
$medium-wide : 900px !default;
94+
$large : 925px !default;
95+
$x-large : 1280px !default;
96+
97+
/* ==========================================================================
98+
Grid
99+
========================================================================== */
100+
101+
$right-sidebar-width-narrow : 20px !default;
102+
$right-sidebar-width : 30px !default;
103+
$right-sidebar-width-wide : 40px !default;
104+
105+
$susy: (
106+
columns: 12,
107+
column-width: 120px,
108+
gutters: 1/4,
109+
math: fluid,
110+
output: float,
111+
gutter-position: after,
112+
container: $large,
113+
global-box-sizing: border-box,
114+
);
115+
116+
/* ==========================================================================
117+
BRAND COLORS
118+
========================================================================== */
119+
120+
$behance-color : #1769FF;
121+
$bluesky-color : #1184fe;
122+
$dribbble-color : #ea4c89;
123+
$facebook-color : #3b5998;
124+
$flickr-color : #ff0084;
125+
$foursquare-color : #0072b1;
126+
$github-color : #171516;
127+
$google-plus-color : #dd4b39;
128+
$instagram-color : #517fa4;
129+
$kaggle-color : #20c0ff;
130+
$lastfm-color : #d51007;
131+
$linkedin-color : #007bb6;
132+
$mastodon-color : #6364ff;
133+
$orcid-color : #a6ce39;
134+
$pinterest-color : #cb2027;
135+
$rss-color : #fa9b39;
136+
$soundcloud-color : #ff3300;
137+
$stackoverflow-color : #fe7a15;
138+
$tumblr-color : #32506d;
139+
$twitter-color : #55acee;
140+
$vimeo-color : #1ab7ea;
141+
$vine-color : #00bf8f;
142+
$youtube-color : #bb0000;
143+
$xing-color : #006567;
144+

_sass/_variables.scss

Lines changed: 0 additions & 133 deletions
This file was deleted.

0 commit comments

Comments
 (0)