Compare commits
3 Commits
cde3a30f96
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
| 1e4c35bb17 | |||
| 9a7f38b787 | |||
| 999d547863 |
9
docker-compose.yml
Normal file
9
docker-compose.yml
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
# quick easy php for testing
|
||||||
|
services:
|
||||||
|
cesiumone:
|
||||||
|
image: trafex/php-nginx
|
||||||
|
volumes:
|
||||||
|
- .:/var/www/html
|
||||||
|
ports:
|
||||||
|
- 8080:8080
|
||||||
|
|
||||||
@@ -20,6 +20,8 @@
|
|||||||
buildContact("GitHub", "#494949", "CesiumCs", "https://github.com/CesiumCs");
|
buildContact("GitHub", "#494949", "CesiumCs", "https://github.com/CesiumCs");
|
||||||
buildContact("YouTube", "#674141", "Cesium", "https://www.youtube.com/channel/UCXPFpgA9G9_wtlyDeT7QAig");
|
buildContact("YouTube", "#674141", "Cesium", "https://www.youtube.com/channel/UCXPFpgA9G9_wtlyDeT7QAig");
|
||||||
buildContact("Telegram", "#006699", "unfunnycesium", "https://t.me/unfunnycesium");
|
buildContact("Telegram", "#006699", "unfunnycesium", "https://t.me/unfunnycesium");
|
||||||
|
buildContact("Fluxer", "#464478", "cesium#3691", false);
|
||||||
|
buildContact("Stoat", "#5a477d", "cesium#9904", false);
|
||||||
?>
|
?>
|
||||||
</div> <div style="clear: left;"></div>
|
</div> <div style="clear: left;"></div>
|
||||||
|
|
||||||
|
|||||||
82
styles.css
82
styles.css
@@ -33,21 +33,18 @@ a {
|
|||||||
* { /* unfucks some stuff */
|
* { /* unfucks some stuff */
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
}
|
}
|
||||||
.contacts {
|
|
||||||
width: 550px;
|
|
||||||
margin:auto;
|
|
||||||
display: grid;
|
|
||||||
grid-template-areas: /* i know how to do it this way, */
|
|
||||||
'one two three'; /* so shut up about the "right way" */
|
|
||||||
grid-gap: 10px;
|
|
||||||
padding: 10px;
|
|
||||||
grid-auto-columns: 1fr;
|
|
||||||
grid-auto-rows: 1fr;
|
|
||||||
|
|
||||||
|
.contacts {
|
||||||
|
display: flex;
|
||||||
|
flex-wrap: wrap;
|
||||||
|
justify-content: center;
|
||||||
|
width: 580px;
|
||||||
|
margin: auto;
|
||||||
|
padding: 10px;
|
||||||
}
|
}
|
||||||
.contact {
|
.contact {
|
||||||
float: left;
|
|
||||||
width: 170px;
|
width: 170px;
|
||||||
|
margin: 5px;
|
||||||
padding: 15px;
|
padding: 15px;
|
||||||
background-color: #232629;
|
background-color: #232629;
|
||||||
border-radius: 10px;
|
border-radius: 10px;
|
||||||
@@ -56,6 +53,7 @@ a {
|
|||||||
position: relative;
|
position: relative;
|
||||||
transition: opacity .25s;
|
transition: opacity .25s;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* some hacky shit to make <div class=contact>s clickable. basically just makes
|
/* some hacky shit to make <div class=contact>s clickable. basically just makes
|
||||||
an <a> in a <div class=contact> take up the full div */
|
an <a> in a <div class=contact> take up the full div */
|
||||||
.contact a {
|
.contact a {
|
||||||
@@ -67,55 +65,31 @@ a {
|
|||||||
opacity: 0;
|
opacity: 0;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
}
|
}
|
||||||
|
|
||||||
div.contact:hover {
|
div.contact:hover {
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
}
|
}
|
||||||
.apps {
|
|
||||||
width: 550px;
|
|
||||||
margin:auto;
|
|
||||||
display: grid;
|
|
||||||
grid-template-areas:
|
|
||||||
'one two three';
|
|
||||||
grid-gap: 10px;
|
|
||||||
padding: 10px;
|
|
||||||
grid-auto-columns: 1fr;
|
|
||||||
grid-auto-rows: 1fr;
|
|
||||||
|
|
||||||
}
|
@media screen and (max-width:900px) {
|
||||||
.app {
|
|
||||||
float: left;
|
|
||||||
width: 170px;
|
|
||||||
padding: 15px;
|
|
||||||
background-color: #232629;
|
|
||||||
border-radius: 10px;
|
|
||||||
text-align: center;
|
|
||||||
opacity: .9;
|
|
||||||
position: relative;
|
|
||||||
transition: opacity .25s;
|
|
||||||
}
|
|
||||||
.app a {
|
|
||||||
z-index: 10;
|
|
||||||
width: 100%;
|
|
||||||
height: 100%;
|
|
||||||
top: 0;
|
|
||||||
left: 0;
|
|
||||||
opacity: 0;
|
|
||||||
position: absolute;
|
|
||||||
}
|
|
||||||
div.app:hover {
|
|
||||||
opacity: 1;
|
|
||||||
}
|
|
||||||
@media screen and (max-width:500px) {
|
|
||||||
.contacts {
|
.contacts {
|
||||||
width: 100%;
|
width: 580px;
|
||||||
grid-template-areas: 'one two';
|
|
||||||
}
|
|
||||||
.apps {
|
|
||||||
width: 100%;
|
|
||||||
grid-template-areas: 'one two';
|
|
||||||
}
|
}
|
||||||
:root {
|
:root {
|
||||||
width: 95%;
|
width: 90%;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@media screen and (max-width:700px) {
|
||||||
|
.contacts {
|
||||||
|
width: 380px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@media screen and (max-width:450px) {
|
||||||
|
:root {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@media screen and (max-width:390px) {
|
||||||
|
.contacts {
|
||||||
|
width: 200px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user