1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128
|
body {
background-color: #FAFAFA;
}
#header {
text-align: center;
color: #fdfdfd;
text-shadow: 0 0 1px #000;
padding: 20px 5px 30px;
border-bottom: 1px solid #ddd;
margin: 0 -15px 20px;
/* background taken from https://uigradients.com/ */
background: #FF512F; /* fallback for old browsers */
background: -webkit-linear-gradient(to left, #FF512F , #DD2476); /* Chrome 10-25, Safari 5.1-6 */
background: linear-gradient(to left, #FF512F , #DD2476); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
}
#title {
font-size: 5em;
text-shadow: 0 0 5px #000;
line-height: 1.2;
margin-bottom: 15px;
}
#subtitle {
font-size: 2em;
margin-bottom: 15px;
line-height: 1.1;
}
#subsubtitle {
font-size: 1.3em;
}
#subsubtitle a {
color: #fdfdfd;
text-decoration: underline;
}
@media only screen and (max-width: 979px) {
#header {
padding: 15px 5px 35px;
}
#title {
font-size: 4em;
}
#subtitle {
font-size: 1.7em;
}
#subsubtitle {
font-size: 1.2em;
}
}
@media only screen and (max-width: 767px) {
#title {
font-size: 3.5em;
}
#subtitle {
font-size: 1.5em;
}
#subsubtitle {
font-size: 1.1em;
}
}
pre {
width: 300px;
}
#sections-container {
text-align: center;
}
#sections-container[data-columns]::before {
content: '4 .grid-col.size-1of4';
}
@media only screen and (max-width: 1510px) {
#sections-container[data-columns]::before {
content: '3 .grid-col.size-1of3';
}
}
@media only screen and (max-width: 1200px) {
#sections-container[data-columns]::before {
content: '2 .grid-col.size-1of2';
}
}
@media only screen and (max-width: 780px) {
#sections-container[data-columns]::before {
content: '1 .grid-col.size-1of1';
}
}
.size-1of4, .size-2of4, .size-3of4, .size-4of4,
.size-1of3, .size-2of3, .size-3of3, .size-1of2, .size-2of2, .size-1of1 {
width: 345px;
}
.grid-col {
display: inline-block;
vertical-align: top;
margin: 0 10px;
}
.section {
text-align: left;
border: 1px solid #ccc;
box-shadow: 0 0 5px #ddd;
padding: 10px 20px;
background-color: #fff;
width: 345px;
border-radius: 5px;
margin-bottom: 20px;
min-height: 250px;
transition: box-shadow 0.5s;
}
.section:hover {
box-shadow: 0 0 5px orange;
}
.section .title {
font-weight: bold;
font-size: 2em;
}
.section .output {
margin: 10px 0 5px;
font-weight: bold;
}
|