index — crispy-website @ f1e4f5b07b77971ebbe9f50441f72ff265c6d312

My personal homepage (very crispy)

static/index.css (view raw)

 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
/* Basic reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Body styling */
body {
  background-color: #1e2021;
  font-family: Arial, sans-serif;
  color: #c8c3bc;
  line-height: 1.6;
  justify-content: center;
  align-items: flex-start;
  min-height: 100vh;
  padding: 15em;
  padding-top: 2em;
  padding-bottom: 2em;
  font-size: 1em;
}

/* Center the main container */

.box {
  padding: 1em;
  border: 2px solid #3e4446;
  background-color: #181a1b;
}

.small-box {
  padding: 0.3em;
  border: 2px solid #3e4446;
  background-color: #181a1b;
}

.container {
  width: 100%;
  text-align: center;
}

.footer {
  margin-top: 1em;
  text-align: center;
  min-height: fit-content;
}

.top {
  display: flex;
  flex-direction: row;
  gap: 1em;
}

.links {
  width: 30em;
  text-align: justify;
}

/* Article styling */
article {
  padding: 1em;
  font-size: 1.3em;
}

h1 {
  font-size: 2em;
  margin-bottom: 0.5em;
}

h2 {
  font-size: 1.5em;
  margin-bottom: 0.5em;
}

ul {
  list-style-type: none;
  padding: 0;
}

li {
  margin: 1em 0;
}

a {
  color: #52b7ff;
  text-decoration: none;
  font-weight: bold;
}

a:hover {
  text-decoration: underline;
}

/* Footer styling */
footer {
  background-color: #1f2123;
  font-size: 1em;
}

.credits {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.credits span {
  font-weight: bold;
}

.banana-img {
  height: 20em;
}

.toothbrush-img {
  height: 3em;
}

img {
  image-rendering: pixelated;
  image-rendering: -moz-crisp-edges;
  image-rendering: crisp-edges;
}

.non-pixelated {
    image-rendering: optimizeQuality;
}