[b86468]: / v3 / css / github-corners / styles.css

Download this file

133 lines (108 with data), 1.8 kB

  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
129
130
131
132
/**
* GitHub Corners, page css
* Author: Tim Holman
*/
@import "corner.css";
* {
box-sizing: border-box;
}
html, body {
font-family: Helvetica, Arial, sans-serif;
background: #fff;
margin: 0px;
}
h1 {
font-size: 30px;
}
p {
font-size: 16px;
font-weight: 100;
line-height: 24px;
}
.wrapper {
padding-right: 20px;
padding-left: 20px;
padding-top: 50px;
max-width: 580px;
margin: auto;
}
/**
* Demo Code
*/
.version {
border: 2px solid #eee;
margin-top: 25px;
height: 200px;
display: -webkit-flex;
display: flex;
}
.version-section {
padding: 10px;
height: 100%;
}
.version-section.dark {
background: #151513;
}
.demo {
border-right: 2px solid #eee;
position: relative;
width: 200px;
}
.code {
vertical-align: top;
width: 336px;
}
.code textarea {
border: 2px solid #eee;
outline: 0px;
height: 100%;
width: 100%;
font-family: monospace;
font-size: 10px;
}
/**
* Footer
*/
footer {
width: 100%;
margin-top: 25px;
margin-bottom: 100px;
background: #F3F3F3;
height: 50px;
padding: 15px;
padding-left: 25px;
padding-right: 25px;
color: #2D2D2D;
font-size: 13px;
letter-spacing: 1px;
font-family: monospace;
}
footer a {
color: #2d2d2d;
}
footer span {
margin-left: 10px;
margin-right: 10px;
}
.twitter-share-button {
margin-bottom: -4px;
}
/**
* Media
*/
@media (max-width: 500px) {
footer {
text-align: center;
height: auto;
line-height: 30px;
}
footer span {
display: none;
}
footer a {
display: block;
}
.twitter-share-button {
margin-bottom: -8px;
}
}