mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-05-10 16:48:31 +02:00
The terminal now overlaps the header (the purple area at the top of the page) and the main area (the white area underneath). This draws more focus to it, and quite literally puts the terminal front and center. This also fixes a few typos, and updates the commands in the terminal to match jrnl v2.5 updates.
307 lines
6.5 KiB
CSS
307 lines
6.5 KiB
CSS
article,aside,details,figcaption,figure,footer,header,hgroup,main,nav,section,summary{display:block}audio,canvas,video{display:inline-block}audio:not([controls]){display:none;height:0}[hidden]{display:none}html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}a:focus{outline:thin dotted}a:active,a:hover{outline:0}h1{font-size:2em;margin:.67em 0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:bold}dfn{font-style:italic}hr{-moz-box-sizing:content-box;box-sizing:content-box;height:0}mark{background:#ff0;color:#000}code,kbd,pre,samp{font-family:monospace,serif;font-size:1em}pre{white-space:pre-wrap}q{quotes:"\201C" "\201D" "\2018" "\2019"}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-0.5em}sub{bottom:-0.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:0}fieldset{border:1px solid silver;margin:0 2px;padding:.35em .625em .75em}legend{border:0;padding:0}button,input,select,textarea{font-family:inherit;font-size:100%;margin:0}button,input{line-height:normal}button,select{text-transform:none}button,html input[type="button"],input[type="reset"],input[type="submit"]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}input[type="checkbox"],input[type="radio"]{box-sizing:border-box;padding:0}input[type="search"]{-webkit-appearance:textfield;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box}input[type="search"]::-webkit-search-cancel-button,input[type="search"]::-webkit-search-decoration{-webkit-appearance:none}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}textarea{overflow:auto;vertical-align:top}table{border-collapse:collapse;border-spacing:0}
|
|
|
|
body
|
|
{
|
|
background-color: #FAFDFE;
|
|
background-color: #f7f8f9;
|
|
font-family: "Open Sans", "Helvetica Neue", sans-serif;
|
|
font-weight: 300;
|
|
}
|
|
|
|
.icon {
|
|
background-image: url("img/sprites.svg");
|
|
width: 32px;
|
|
height: 32px;
|
|
display: inline-block;
|
|
font-size: 40px;
|
|
background-size: 200px 80px;
|
|
}
|
|
|
|
h3 { font-weight: 400; }
|
|
|
|
.icon.secure {
|
|
background-position: 0em 0em;
|
|
}
|
|
|
|
.icon.future {
|
|
background-position: -1em 0em;
|
|
}
|
|
|
|
.icon.search {
|
|
background-position: -2em 0em;
|
|
}
|
|
|
|
.icon.nli {
|
|
background-position: -3em 0em;
|
|
}
|
|
|
|
.icon.share {
|
|
background-position: 0em -1em;
|
|
}
|
|
|
|
.icon.sync {
|
|
background-position: 0em -1em;
|
|
}
|
|
|
|
.icon.dayone {
|
|
background-position: -1em -1em;
|
|
}
|
|
|
|
.icon.github {
|
|
background-position: -2em -1em;
|
|
}
|
|
|
|
.icon.folders {
|
|
background-position: -3em -1em;
|
|
}
|
|
|
|
.icon.twitter {
|
|
background-position: -4em -1em;
|
|
}
|
|
|
|
header {
|
|
background-image: linear-gradient(211deg, #95699C 0%, #604385 100%);
|
|
color: white;
|
|
border: 0px solid transparent;
|
|
display: relative;
|
|
padding-top: 150px;
|
|
overflow: visible;
|
|
}
|
|
|
|
#terminal {
|
|
background: #1B1C2E;
|
|
max-width: 520px;
|
|
box-shadow: 0 -2px 16px 0 rgba(0,0,0,0.35);
|
|
border-radius: 6px;
|
|
min-height: 120px;
|
|
margin: 0px auto;
|
|
position: relative;
|
|
transform: translateY(75px);
|
|
color: #f7f8f9;
|
|
font-family: "Monaco", "Courier New";
|
|
font-size: 12pt;
|
|
padding: 45px 20px 0px 20px;
|
|
line-height: 165%;
|
|
}
|
|
|
|
#terminal b {
|
|
font-weight: normal;
|
|
color: #C2CDD9;
|
|
}
|
|
|
|
#terminal i {
|
|
font-style: normal;
|
|
color: #BB97BA;
|
|
}
|
|
|
|
#terminal:before {
|
|
content: '';
|
|
position: absolute;
|
|
top: 15px;
|
|
left: 15px;
|
|
display: inline-block;
|
|
width: 15px;
|
|
height: 15px;
|
|
border-radius: 50%;
|
|
background: #3B3B4A;
|
|
box-shadow: 25px 0 0 #3B3B4A, 50px 0 0 #3B3B4A;
|
|
}
|
|
|
|
#typed:before {
|
|
content: "$ ";
|
|
color: #A879A7;
|
|
}
|
|
|
|
#twitter {
|
|
display: block;
|
|
position: absolute;
|
|
text-decoration: none;
|
|
top: 20px;
|
|
right: 20px;
|
|
border: 1px solid white;
|
|
padding: 5px 10px;
|
|
color: white;
|
|
border-radius: 3px;
|
|
opacity: .7;
|
|
}
|
|
|
|
#twitter .icon {
|
|
transform: scale(.5);
|
|
vertical-align: -18%;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
#twitter:hover,
|
|
#twitter:active {
|
|
opacity: 1;
|
|
text-decoration: none;
|
|
}
|
|
|
|
#title {
|
|
max-width: 630px;
|
|
margin: 0 auto;
|
|
padding: 0px 20px;
|
|
}
|
|
|
|
#prompt {
|
|
max-width: 700px;
|
|
margin: 25px auto 100px auto;
|
|
padding: 0px 20px;
|
|
}
|
|
|
|
header img {
|
|
float: left;
|
|
margin-right: 30px;
|
|
}
|
|
|
|
h1 {
|
|
color: white;
|
|
font-weight: 300;
|
|
}
|
|
|
|
nav {
|
|
text-align: center;
|
|
}
|
|
|
|
nav a#twitter-nav {
|
|
display: none;
|
|
}
|
|
|
|
a {
|
|
color: #684688;
|
|
text-decoration: underline;
|
|
}
|
|
|
|
nav a {
|
|
font-size: 14pt;
|
|
line-height: 40pt;
|
|
margin: 0 40px;
|
|
}
|
|
|
|
a:hover {
|
|
color: #A3629F;
|
|
}
|
|
|
|
nav a.cta {
|
|
display: inline-block;
|
|
color: white;
|
|
background-image: linear-gradient(259deg, #A3629F 0%, #604385 100%);
|
|
box-shadow: 0 2px 8px 0 rgba(0,0,0,0.25);
|
|
border-radius: 50px;
|
|
padding: 0px 30pt;
|
|
white-space: nowrap;
|
|
transition: all .1s ease;
|
|
font-weight: 600;
|
|
text-decoration: none;
|
|
}
|
|
|
|
nav a.cta:hover {
|
|
text-decoration: none;
|
|
background-image: linear-gradient(259deg, #AE57A8 0%, #68419C 100%);
|
|
box-shadow: 0 4px 16px 0 rgba(0,0,0,0.25);
|
|
color: #f7f8f9;
|
|
}
|
|
|
|
main {
|
|
padding: 50px 0 0 0;
|
|
}
|
|
|
|
|
|
.flex {
|
|
display: flex;
|
|
margin: 0 auto;
|
|
max-width: 920px;
|
|
flex-wrap: wrap;
|
|
padding: 20px 20px;
|
|
justify-content: space-between;
|
|
|
|
}
|
|
|
|
.flex section {
|
|
/*margin: 20px;*/
|
|
margin-top: 40px;
|
|
width: 32%;
|
|
}
|
|
|
|
.flex section:first-child {
|
|
margin-left: 0px;
|
|
}
|
|
.flex section:last-child {
|
|
margin-right: 0px;
|
|
}
|
|
|
|
|
|
.flex section i {
|
|
float: left;
|
|
left: 0;
|
|
display: block;
|
|
margin: 0px auto 10px auto;
|
|
}
|
|
|
|
.flex section h3 {
|
|
margin-top: 0;
|
|
font-size: 14pt;
|
|
color: #684688;
|
|
margin-bottom: .5em;
|
|
font-weight: 300;
|
|
margin-left: 40px;
|
|
}
|
|
|
|
.flex section p {
|
|
padding-left: 40px;
|
|
color: #888;
|
|
font-size: 12pt;
|
|
margin: 0;
|
|
}
|
|
|
|
footer {
|
|
max-width: 700px;
|
|
margin: 20px auto;
|
|
padding: 0 20px 20px 20px;
|
|
font-size: 10pt;
|
|
opacity: .5;
|
|
text-align: center;
|
|
}
|
|
|
|
@media screen and (max-width: 680px) {
|
|
.flex {
|
|
display: block;
|
|
padding: 0;
|
|
}
|
|
.flex section {
|
|
width: 100%;
|
|
}
|
|
|
|
main {
|
|
padding: 20px;
|
|
margin: 0;
|
|
width: calc(100% - 40px);
|
|
}
|
|
|
|
nav a,
|
|
nav a#twitter-nav {
|
|
display: inline-block;
|
|
margin: 0px 10px;
|
|
}
|
|
|
|
nav a.cta {
|
|
display: block;
|
|
margin: 20px;
|
|
}
|
|
|
|
header #twitter {
|
|
display: none;
|
|
}
|
|
|
|
header #logo {
|
|
display: block;
|
|
float: none;
|
|
margin: 0px auto;
|
|
}
|
|
|
|
header #title br {
|
|
display: none;
|
|
}
|
|
|
|
}
|