This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Retrieves the value associated with the variable from the “Base Variables” sheet. | |
* | |
* @param {string} variableName The variable to retrieve. The string must be the same as in the “Variable” column of the “Base Variables” sheet. | |
* @return The input multiplied by 2. | |
* @customfunction | |
*/ | |
function getBaseVar(variableName) { | |
// Get variables. | |
var variableSheet = SpreadsheetApp.getActiveSpreadsheet().getSheetByName("Base Variables"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
li { | |
display: inline-block; | |
list-style: none; | |
&:after { | |
content: ','; | |
} | |
&:last-child:after { | |
content: '.'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@media screen and (min-width: 700px) { | |
nav { | |
target: after "header"; | |
} | |
} | |
@media screen and (min-width: 1200px) { | |
nav { | |
target: after "header small"; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
nav { | |
/* Style nav links to be full width bars with healthy padding. */ | |
} | |
@media screen and (min-width: 700px) { | |
/* Tablet styling. Width is just a rough guess. */ | |
nav { | |
/* Style nav links to appear "buttony", in a full-width horizontal row. */ | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<header> | |
<h1>The-T</h1> | |
<small>Awesome T-Shirts for all.</small> | |
<placeholder id="ph-nav-desktop"> | |
</header> | |
<placeholder id="ph-nav-tablet"> | |
<div role="main"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<header> | |
<h1>The-T</h1> | |
<small>Awesome T-Shirts for all.</small> | |
</header> | |
<div role="main"> | |
<p>Insert content here.</p> | |
</div> | |
<nav> | |
<a href="/">Home</a> | |
<a href="/about/">About Us</a> |